From 40121d67f7294155474f9f7affcc364093045ef6 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 3 Dec 2024 14:53:32 -0600 Subject: [PATCH] ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.445.2 (#5) Co-authored-by: speakeasybot --- .devcontainer/README.md | 2 +- .speakeasy/gen.lock | 147 +- .speakeasy/gen.yaml | 3 +- .speakeasy/workflow.lock | 16 +- .speakeasy/workflow.yaml | 2 +- README.md | 25 + RELEASES.md | 12 +- docs/models/components/aclaction.md | 2 +- .../components/authtokenscopesorigin.md | 2 +- docs/models/components/authuser.md | 4 +- .../components/blockedduetooveragetype.md | 4 +- docs/models/components/dismissals.md | 2 +- docs/models/components/dismissedtoasts.md | 2 +- docs/models/components/edgeconfigitem.md | 6 +- docs/models/components/edgeconfigitemvalue.md | 2 +- docs/models/components/edgeconfigtoken.md | 2 +- docs/models/components/filetree.md | 2 +- docs/models/components/flagjsonvalue.md | 2 +- docs/models/components/gitnamespaceid.md | 2 +- docs/models/components/gituserid.md | 2 +- .../components/importflowgitnamespace.md | 2 +- .../components/importflowgitnamespaceid.md | 2 +- .../components/importflowgitprovider.md | 2 +- docs/models/components/joinedfrom.md | 2 +- docs/models/components/membership.md | 6 +- docs/models/components/northstarmigration.md | 12 +- docs/models/components/reason.md | 2 +- docs/models/components/role.md | 2 +- docs/models/components/scopes.md | 8 +- docs/models/components/scopes1.md | 4 +- docs/models/components/scopes2.md | 4 +- docs/models/components/scopesorigin.md | 2 +- docs/models/components/security.md | 6 +- docs/models/components/softblock.md | 4 +- docs/models/components/teamlimited.md | 8 +- docs/models/components/viewpreference.md | 2 +- docs/models/operations/acceptedchallenges.md | 2 +- docs/models/operations/access.md | 2 +- docs/models/operations/action.md | 6 +- docs/models/operations/action1.md | 2 +- docs/models/operations/active.md | 22 +- .../addprojectdomainverification.md | 2 +- docs/models/operations/aliasassignedat.md | 2 +- docs/models/operations/backup.md | 2 +- docs/models/operations/backups.md | 2 +- docs/models/operations/billing.md | 39 +- docs/models/operations/billing1.md | 31 + docs/models/operations/billing2.md | 27 + docs/models/operations/billingitems.md | 31 + docs/models/operations/billingplan.md | 4 +- docs/models/operations/buydomaindomain.md | 2 +- .../operations/buydomaindomainsdomain.md | 2 +- .../buydomaindomainsresponsebody.md | 2 +- docs/models/operations/buydomainresponse.md | 4 +- .../operations/buydomainresponsebody.md | 2 +- .../canceldeploymentaliasassignedat.md | 2 +- .../canceldeploymentchecksconclusion.md | 2 +- .../operations/canceldeploymentcrons.md | 2 +- .../canceldeploymentdeploymentsreadystate.md | 2 +- .../canceldeploymentdeploymentsstatus.md | 2 +- .../operations/canceldeploymentframework.md | 2 +- .../operations/canceldeploymentgitrepo.md | 14 +- .../operations/canceldeploymentgitrepo1.md | 8 +- .../operations/canceldeploymentgitrepo2.md | 8 +- .../operations/canceldeploymentgitrepo3.md | 2 +- ...eldeploymentgitrepodeploymentsownertype.md | 2 +- ...mentgitrepodeploymentsresponseownertype.md | 2 +- .../canceldeploymentgitrepoownertype.md | 2 +- .../operations/canceldeploymentgitsource.md | 8 +- .../operations/canceldeploymentgitsource1.md | 2 +- .../operations/canceldeploymentgitsource3.md | 2 +- .../canceldeploymentgitsourceprojectid.md | 2 +- .../canceldeploymentgitsourcerepoid.md | 2 +- .../models/operations/canceldeploymenthas2.md | 2 +- .../canceldeploymenthasdeploymentstype.md | 2 +- .../canceldeploymentintegrations.md | 4 +- .../operations/canceldeploymentlambdas.md | 2 +- .../canceldeploymentmissingdeploymentstype.md | 2 +- .../operations/canceldeploymentoutput.md | 2 +- .../models/operations/canceldeploymentplan.md | 2 +- .../canceldeploymentresponsebody.md | 18 +- .../operations/canceldeploymentroutes.md | 4 +- .../operations/canceldeploymentroutes2.md | 2 +- .../operations/canceldeploymentroutes3.md | 2 +- .../canceldeploymentrouteshandle.md | 2 +- .../operations/canceldeploymentrouteshas.md | 2 +- .../canceldeploymentroutesmissing.md | 2 +- .../operations/canceldeploymentsource.md | 2 +- .../operations/canceldeploymentstatus.md | 2 +- docs/models/operations/checksconclusion.md | 2 +- docs/models/operations/conditiongroup.md | 4 +- docs/models/operations/conditions.md | 4 +- docs/models/operations/configuredby.md | 2 +- docs/models/operations/contact.md | 18 + ...reateconfigurablelogdraindisabledreason.md | 2 +- .../createconfigurablelogdrainenvironments.md | 2 +- ...igurablelogdrainlogdrainsdeliveryformat.md | 2 +- ...nfigurablelogdrainlogdrainsenvironments.md | 2 +- ...ateconfigurablelogdrainlogdrainssources.md | 2 +- .../createconfigurablelogdrainrequest.md | 4 +- .../createconfigurablelogdrainrequestbody.md | 2 +- .../createconfigurablelogdrainresponsebody.md | 8 +- .../createconfigurablelogdrainsources.md | 2 +- .../createconfigurablelogdrainstatus.md | 2 +- .../operations/createdeploymentcrons.md | 2 +- .../createdeploymentdeploymentsstatus.md | 2 +- .../operations/createdeploymentframework.md | 2 +- .../operations/createdeploymentgitsource.md | 10 +- .../operations/createdeploymentgitsource6.md | 2 +- .../operations/createdeploymentgitsource7.md | 2 +- .../operations/createdeploymentgitsource8.md | 2 +- .../operations/createdeploymenthastype.md | 2 +- .../operations/createdeploymentmissingtype.md | 2 +- .../operations/createdeploymentoutput.md | 2 +- .../operations/createdeploymentreadystate.md | 2 +- .../operations/createdeploymentrequest.md | 1 - .../operations/createdeploymentrequestbody.md | 1 - .../createdeploymentresponsebody.md | 18 +- .../operations/createdeploymentsource.md | 2 +- .../operations/createdeploymentstatus.md | 2 +- .../operations/createdeploymenttarget.md | 2 +- docs/models/operations/createdtarget.md | 4 +- .../createedgeconfigresponsebody.md | 4 +- .../operations/createedgeconfigtransfer.md | 4 +- docs/models/operations/createeventevent.md | 23 + .../models/operations/createeventeventtype.md | 15 + docs/models/operations/createeventrequest.md | 18 + .../operations/createeventrequestbody.md | 19 + .../operations/createlogdrainsources.md | 2 +- .../createortransferdomainrequest.md | 3 +- .../operations/createprojectenv1target.md | 2 +- .../operations/createprojectenv2target.md | 2 +- .../createprojectenvcreatedtarget.md | 2 +- .../operations/createprojectenvcreatedtype.md | 2 +- .../operations/createprojectenvrequest.md | 22 +- .../operations/createprojectenvtarget.md | 4 +- .../operations/createprojectenvtarget1.md | 2 +- .../operations/createprojectenvtarget2.md | 2 +- .../createprojectenvtargetprojects1.md | 2 +- ...createprojectenvtargetprojectsresponse2.md | 2 +- .../operations/createprojectenvvalue.md | 2 +- .../operations/createprojectenvvalue2.md | 2 +- .../operations/createprojectpermissions.md | 2 + docs/models/operations/createrecordrequest.md | 2 +- .../operations/createrecordrequestbody.md | 20 +- ...createrecordrequestbodydnsrequest10type.md | 2 +- .../createrecordrequestbodydnsrequest5type.md | 2 +- .../createrecordrequestbodydnsrequest6type.md | 2 +- .../createrecordrequestbodydnsrequest7type.md | 2 +- .../createrecordrequestbodydnsrequest8type.md | 2 +- .../createrecordrequestbodydnsrequest9type.md | 2 +- .../createrecordrequestbodydnsrequesttype.md | 2 +- .../createrecordrequestbodydnstype.md | 2 +- .../operations/createrecordrequestbodytype.md | 2 +- .../operations/createrecordresponsebody.md | 2 +- .../operations/createrecordresponsebody1.md | 2 +- docs/models/operations/createteambilling.md | 16 + .../operations/createteamresponsebody.md | 2 +- .../operations/createwebhookrequestbody.md | 4 +- .../deletedeploymentresponsebody.md | 8 +- .../operations/deletedeploymentstate.md | 17 + docs/models/operations/discounts.md | 25 + .../operations/editprojectenvresponsebody1.md | 2 +- .../editprojectenvresponsebodytarget.md | 2 +- .../editprojectenvresponsebodytype.md | 2 +- .../models/operations/editprojectenvtarget.md | 2 +- docs/models/operations/eight.md | 2 +- docs/models/operations/encoding.md | 2 +- docs/models/operations/event1.md | 18 + docs/models/operations/event2.md | 21 + docs/models/operations/events.md | 2 +- docs/models/operations/eventtype.md | 15 + .../operations/exchangessotokenrequestbody.md | 23 + .../exchangessotokenresponsebody.md | 21 + ...envsresponsebodyprojectsresponse200type.md | 2 +- ...tenvsresponsebodyprojectsresponsetarget.md | 5 +- ...erprojectenvsresponsebodyprojectstarget.md | 4 +- .../filterprojectenvsresponsebodytype.md | 2 +- .../operations/filterprojectenvstarget1.md | 2 +- .../operations/filterprojectenvstarget2.md | 2 +- .../filterprojectenvstargetprojects1.md | 2 +- .../filterprojectenvstargetprojects2.md | 2 +- docs/models/operations/flagsoptions.md | 2 +- docs/models/operations/framework.md | 2 +- docs/models/operations/gen.md | 2 +- .../operations/getaccountinforequest.md | 17 + .../operations/getaccountinforesponsebody.md | 22 + .../operations/getaliasprotectionbypass.md | 12 +- .../getalllogdrainsdisabledreason.md | 2 +- .../operations/getalllogdrainsresponsebody.md | 12 +- .../operations/getalllogdrainssources.md | 2 +- .../operations/getalllogdrainsstatus.md | 2 +- .../operations/getcertbyidresponsebody.md | 4 +- .../getconfigurablelogdrainenvironments.md | 2 +- .../getconfigurablelogdrainresponsebody.md | 12 +- .../getconfigurablelogdrainsources.md | 2 +- .../getconfigurablelogdrainstatus.md | 2 +- ...getconfigurationresponsebodybillingplan.md | 5 +- ...configurationresponsebodydisabledreason.md | 3 +- ...nresponsebodyintegrationsdisabledreason.md | 2 +- ...esponsebodyintegrationsinstallationtype.md | 2 +- ...ionresponsebodyintegrationsresponsetype.md | 3 +- .../getconfigurationresponsebodyquote.md | 2 +- .../operations/getconfigurationsrequest.md | 2 +- ...onfigurationsresponsebodydisabledreason.md | 3 +- ...onsresponsebodyintegrationsresponsetype.md | 3 +- .../getconfigurationsresponsebodyscope.md | 2 +- .../operations/getdeploymentflagsoptions.md | 2 +- .../operations/getdeploymentgitrepo1.md | 6 +- .../operations/getdeploymentgitrepo2.md | 8 +- .../operations/getdeploymentgitrepo3.md | 4 +- .../getdeploymentgitrepoownertype.md | 2 +- .../operations/getdeploymentgitsource1.md | 2 +- .../operations/getdeploymentgitsource3.md | 2 +- .../operations/getdeploymentgitsource6.md | 2 +- .../operations/getdeploymentgitsource7.md | 2 +- .../operations/getdeploymentgitsource8.md | 2 +- .../getdeploymentgitsourcedeployments1.md | 2 +- .../getdeploymentgitsourcedeployments3.md | 2 +- .../getdeploymentgitsourcedeployments6.md | 2 +- .../getdeploymentgitsourcedeployments7.md | 2 +- .../getdeploymentgitsourcedeployments8.md | 2 +- ...deploymentgitsourcedeploymentsprojectid.md | 2 +- ...getdeploymentgitsourcedeploymentsrepoid.md | 2 +- .../getdeploymentgitsourceprojectid.md | 2 +- .../getdeploymentgitsourcerepoid.md | 2 +- docs/models/operations/getdeploymenthas2.md | 2 +- .../models/operations/getdeploymenthastype.md | 2 +- .../operations/getdeploymentmissing2.md | 2 +- .../operations/getdeploymentmissingtype.md | 2 +- .../operations/getdeploymentresponsebody.md | 34 +- .../operations/getdeploymentresponsebody1.md | 18 +- .../operations/getdeploymentresponsebody2.md | 14 +- ...tdeploymentresponsebodychecksconclusion.md | 2 +- .../getdeploymentresponsebodychecksstate.md | 2 +- ...oymentresponsebodydeploymentsreadystate.md | 2 +- ...sponsebodydeploymentsresponsereadystate.md | 2 +- ...deploymentresponsebodydeploymentsstatus.md | 2 +- .../getdeploymentresponsebodygitsource.md | 10 +- .../getdeploymentresponsebodylambdas.md | 2 +- .../getdeploymentresponsebodyoutput.md | 2 +- .../getdeploymentresponsebodyreadystate.md | 2 +- .../getdeploymentresponsebodyreadysubstate.md | 2 +- .../getdeploymentresponsebodysource.md | 2 +- .../getdeploymentresponsebodystatus.md | 2 +- .../getdeploymentresponsebodytarget.md | 2 +- .../models/operations/getdeploymentroutes2.md | 2 +- .../models/operations/getdeploymentroutes3.md | 2 +- .../operations/getdeploymentrouteshandle.md | 2 +- .../operations/getdeploymentrouteshas.md | 2 +- .../operations/getdeploymentsaliasassigned.md | 2 +- .../getdeploymentschecksconclusion.md | 2 +- .../operations/getdeploymentschecksstate.md | 2 +- .../operations/getdeploymentsframework.md | 2 +- .../operations/getdeploymentsnodeversion.md | 2 +- .../operations/getdeploymentsreadysubstate.md | 2 +- .../getdomaintransferresponsebody.md | 4 +- .../operations/getdomaintransferstatus.md | 2 +- .../getedgeconfigbackupresponsebody.md | 12 +- .../getedgeconfigbackupresponsebody1.md | 4 +- .../getedgeconfigbackupresponsebody2.md | 8 +- .../getedgeconfigbackupresponsebodyitems.md | 6 +- .../getedgeconfigbackupresponsebodyuser.md | 4 +- .../getedgeconfigbackupsresponsebody.md | 2 +- .../operations/getedgeconfigresponsebody.md | 4 +- .../operations/getedgeconfigsresponsebody.md | 4 +- .../operations/getedgeconfigtransfer.md | 4 +- .../operations/getfirewallconfigalgo.md | 2 +- .../getfirewallconfigconditiongroup.md | 4 +- .../operations/getfirewallconfigconditions.md | 4 +- .../models/operations/getfirewallconfigcrs.md | 16 +- .../models/operations/getfirewallconfiggen.md | 2 +- .../models/operations/getfirewallconfigips.md | 6 +- .../models/operations/getfirewallconfiglfi.md | 2 +- .../operations/getfirewallconfigmitigate.md | 2 +- docs/models/operations/getfirewallconfigop.md | 2 +- .../models/operations/getfirewallconfigphp.md | 2 +- .../operations/getfirewallconfigratelimit.md | 6 +- .../getfirewallconfigresponsebody.md | 24 +- .../operations/getfirewallconfigrules.md | 4 +- docs/models/operations/getfirewallconfigsd.md | 2 +- ...firewallconfigsecurityresponse200action.md | 2 +- ...nse200applicationjsonresponsebodyaction.md | 3 +- ...200applicationjsonresponsebodycrsaction.md | 2 +- ...0applicationjsonresponsebodycrsmaaction.md | 2 +- ...0applicationjsonresponsebodycrssfaction.md | 2 +- ...pplicationjsonresponsebodycrssqliaction.md | 2 +- ...applicationjsonresponsebodycrsxssaction.md | 2 +- ...cationjsonresponsebodyrulesactionaction.md | 2 +- ...getfirewallconfigsecurityresponseaction.md | 2 +- .../operations/getfirewallconfigtype.md | 2 +- .../operations/getfirewallconfigvalue.md | 2 +- .../models/operations/getfirewallconfigxss.md | 2 +- docs/models/operations/getinvoicediscounts.md | 25 + docs/models/operations/getinvoiceitems.md | 31 + docs/models/operations/getinvoiceperiod.md | 19 + docs/models/operations/getinvoicerequest.md | 19 + .../operations/getinvoiceresponsebody.md | 51 + docs/models/operations/getmemberrequest.md | 19 + .../operations/getmemberresponsebody.md | 19 + docs/models/operations/getmemberrole.md | 15 + .../operations/getprojectdomainsdomains.md | 30 + .../operations/getprojectdomainsrequest.md | 33 + .../getprojectdomainsresponsebody.md | 32 + .../getprojectdomainsverification.md | 25 + .../operations/getprojectenvresponsebody.md | 6 +- .../operations/getprojectenvresponsebody1.md | 2 +- .../operations/getprojectenvresponsebody2.md | 2 +- .../operations/getprojectenvresponsebody3.md | 2 +- ...ctenvresponsebodyprojectsresponsetarget.md | 2 +- ...jectenvresponsebodyprojectsresponsetype.md | 2 +- ...getprojectenvresponsebodyprojectstarget.md | 4 +- .../getprojectenvresponsebodyprojectstype.md | 2 +- .../getprojectenvresponsebodytarget.md | 4 +- .../getprojectenvresponsebodytype.md | 2 +- .../models/operations/getprojectenvtarget2.md | 2 +- .../getprojectenvtargetprojects1.md | 2 +- .../getprojectenvtargetprojects2.md | 2 +- .../getprojectenvtargetprojectsresponse2.md | 2 +- .../operations/getprojectspermissions.md | 2 + .../operations/getrecordsresponsebody.md | 20 +- .../operations/getrecordsresponsebody2.md | 8 +- .../getrecordsresponsebodydnstype.md | 2 +- .../operations/getrecordsresponsebodytype.md | 2 +- .../getteamaccessrequestgituserid.md | 2 +- .../getteamaccessrequestjoinedfrom.md | 2 +- .../operations/getteamaccessrequestorigin.md | 2 +- .../getteamaccessrequestresponsebody.md | 2 +- .../operations/getteammembersgituserid.md | 2 +- .../operations/getteammembersjoinedfrom.md | 2 +- .../models/operations/getteammembersorigin.md | 2 +- .../operations/getteammembersteamsprojects.md | 2 +- .../models/operations/getteamsresponsebody.md | 31 +- .../getwebhooksresponsebodyframework.md | 2 +- docs/models/operations/gitaccount.md | 4 +- docs/models/operations/gitnamespacesid.md | 2 +- .../operations/gitnamespacesresponsebody.md | 2 +- docs/models/operations/gitrepo.md | 16 +- docs/models/operations/gitrepo1.md | 6 +- docs/models/operations/gitrepo2.md | 6 +- docs/models/operations/gitrepo3.md | 2 +- docs/models/operations/gitsource.md | 4 +- docs/models/operations/gitsource1.md | 2 +- docs/models/operations/gitsource6.md | 2 +- docs/models/operations/gitsource7.md | 2 +- docs/models/operations/gitsource8.md | 2 +- docs/models/operations/gitsourceprojectid.md | 2 +- docs/models/operations/gitsourcerepoid.md | 2 +- docs/models/operations/has2.md | 2 +- docs/models/operations/https.md | 2 +- docs/models/operations/id.md | 2 +- docs/models/operations/integrations.md | 4 +- .../operations/inviteusertoteamrequest.md | 2 +- .../operations/inviteusertoteamrequestbody.md | 2 +- .../inviteusertoteamresponsebody.md | 4 +- .../inviteusertoteamresponsebody2.md | 4 +- .../inviteusertoteamresponsebodyrole.md | 2 +- docs/models/operations/ips.md | 6 +- .../operations/issuecertresponsebody.md | 4 +- docs/models/operations/items.md | 2 +- docs/models/operations/items1.md | 2 +- docs/models/operations/items2.md | 2 +- docs/models/operations/java.md | 2 +- docs/models/operations/lambdas.md | 2 +- docs/models/operations/lfi.md | 10 +- .../operations/listaliasesprotectionbypass.md | 12 +- .../listaliasesprotectionbypass1.md | 2 +- .../listaliasesprotectionbypass2.md | 4 +- .../listaliasesprotectionbypass3.md | 2 +- .../listaliasesprotectionbypass4.md | 4 +- .../listdeploymentaliasesprotectionbypass.md | 12 +- .../listdeploymentaliasesprotectionbypass1.md | 2 +- .../listdeploymentaliasesprotectionbypass2.md | 6 +- .../listdeploymentaliasesprotectionbypass3.md | 2 +- .../listdeploymentaliasesprotectionbypass4.md | 4 +- docs/models/operations/ma.md | 10 +- docs/models/operations/missing2.md | 2 +- docs/models/operations/mitigate.md | 2 +- docs/models/operations/namespaceid.md | 2 +- docs/models/operations/nine.md | 2 +- docs/models/operations/nodeversion.md | 2 +- docs/models/operations/one.md | 2 +- docs/models/operations/op.md | 2 +- docs/models/operations/options.md | 2 +- docs/models/operations/order.md | 17 + docs/models/operations/owner.md | 2 +- docs/models/operations/ownertype.md | 2 +- docs/models/operations/patchdomainrequest.md | 2 +- docs/models/operations/period.md | 21 + docs/models/operations/permissions.md | 2 + docs/models/operations/php.md | 8 +- docs/models/operations/plan.md | 2 +- docs/models/operations/production.md | 17 + docs/models/operations/projectid.md | 2 +- docs/models/operations/protectionbypass1.md | 2 +- docs/models/operations/protectionbypass2.md | 6 +- docs/models/operations/protectionbypass3.md | 2 +- docs/models/operations/protectionbypass4.md | 4 +- docs/models/operations/provider.md | 2 +- .../operations/putfirewallconfigaction.md | 2 +- .../operations/putfirewallconfigalgo.md | 2 +- .../putfirewallconfigconditiongroup.md | 4 +- .../operations/putfirewallconfigconditions.md | 4 +- .../models/operations/putfirewallconfigcrs.md | 8 +- .../models/operations/putfirewallconfiggen.md | 2 +- .../models/operations/putfirewallconfigips.md | 4 +- .../models/operations/putfirewallconfiglfi.md | 2 +- .../operations/putfirewallconfigmitigate.md | 2 +- docs/models/operations/putfirewallconfigop.md | 2 +- .../models/operations/putfirewallconfigphp.md | 2 +- .../operations/putfirewallconfigratelimit.md | 6 +- .../putfirewallconfigresponsebody.md | 24 +- .../operations/putfirewallconfigrules.md | 4 +- .../putfirewallconfigsecurityaction.md | 2 +- ...securityrequestrequestbodycrsjavaaction.md | 2 +- ...gsecurityrequestrequestbodycrsphpaction.md | 15 + ...igsecurityrequestrequestbodycrssfaction.md | 2 +- ...securityrequestrequestbodycrssqliaction.md | 2 +- ...gsecurityrequestrequestbodycrsxssaction.md | 2 +- ...rityrequestrequestbodyrulesactionaction.md | 2 +- ...firewallconfigsecurityresponse200action.md | 2 +- ...applicationjsonresponsebodyactiveaction.md | 2 +- ...licationjsonresponsebodyactivecrsaction.md | 2 +- ...ationjsonresponsebodyactivecrsgenaction.md | 2 +- ...cationjsonresponsebodyactivecrsmaaction.md | 2 +- ...tionjsonresponsebodyactivecrssqliaction.md | 2 +- ...ationjsonresponsebodyactivecrsxssaction.md | 2 +- ...cationjsonresponsebodyactiverulesaction.md | 2 +- ...jsonresponsebodyactiverulesactionaction.md | 2 +- .../putfirewallconfigsecuritytype.md | 2 +- .../putfirewallconfigsecurityvalue.md | 2 +- .../operations/putfirewallconfigsqli.md | 2 +- .../operations/putfirewallconfigtype.md | 2 +- .../operations/putfirewallconfigvalue.md | 2 +- docs/models/operations/queryparamprovider.md | 2 +- docs/models/operations/queryparamtarget.md | 17 + docs/models/operations/quote.md | 2 +- docs/models/operations/ratelimit.md | 6 +- docs/models/operations/ratelimit1.md | 6 +- docs/models/operations/ratelimitaction.md | 2 +- docs/models/operations/rce.md | 8 +- docs/models/operations/readystate.md | 2 +- docs/models/operations/reasons.md | 2 +- docs/models/operations/records.md | 10 +- docs/models/operations/redirects.md | 17 + .../removeprojectenvresponsebody.md | 6 +- .../removeprojectenvresponsebody1.md | 2 +- .../removeprojectenvresponsebody2.md | 2 +- .../removeprojectenvresponsebody3.md | 2 +- ...ctenvresponsebodyprojectsresponsetarget.md | 4 +- ...jectenvresponsebodyprojectsresponsetype.md | 2 +- ...oveprojectenvresponsebodyprojectstarget.md | 4 +- ...emoveprojectenvresponsebodyprojectstype.md | 2 +- .../removeprojectenvresponsebodytype.md | 2 +- .../operations/removeprojectenvtarget2.md | 2 +- ...removeprojectenvtargetprojectsresponse1.md | 2 +- ...removeprojectenvtargetprojectsresponse2.md | 2 +- docs/models/operations/repoid.md | 2 +- docs/models/operations/repos.md | 8 +- .../requestaccesstoteamgituserid.md | 2 +- .../requestaccesstoteamjoinedfrom.md | 2 +- .../operations/requestaccesstoteamorigin.md | 2 +- docs/models/operations/requestbody1.md | 2 +- docs/models/operations/requestbody2.md | 2 +- docs/models/operations/requestbody3.md | 2 +- docs/models/operations/requestbody5.md | 2 +- docs/models/operations/requestbody6.md | 4 +- docs/models/operations/requestbody8.md | 4 +- docs/models/operations/requestbody9.md | 6 +- .../operations/requestbodyconditiongroup.md | 4 +- .../operations/requestbodyconditions.md | 4 +- docs/models/operations/requestbodyop.md | 2 +- .../models/operations/requestbodyratelimit.md | 4 +- docs/models/operations/requestbodytype.md | 2 +- docs/models/operations/requestbodyvalue.md | 2 +- .../models/operations/requestdeletereasons.md | 2 +- .../operations/requestdeleteresponsebody.md | 2 +- docs/models/operations/responsebody3.md | 10 +- .../operations/responsebodyaliasassignedat.md | 2 +- docs/models/operations/responsebodybackup.md | 2 +- .../operations/responsebodybillingplan.md | 5 +- .../responsebodychecksconclusion.md | 2 +- .../operations/responsebodychecksstate.md | 2 +- docs/models/operations/responsebodycrons.md | 2 +- .../operations/responsebodydisabledreason.md | 2 +- .../operations/responsebodyframework.md | 2 +- docs/models/operations/responsebodygitrepo.md | 18 +- .../operations/responsebodygitsource.md | 10 +- docs/models/operations/responsebodyid.md | 2 +- .../responsebodyinstallationtype.md | 2 +- .../operations/responsebodyintegrations.md | 4 +- docs/models/operations/responsebodyitems.md | 6 +- docs/models/operations/responsebodylambdas.md | 2 +- .../operations/responsebodynamespaceid.md | 2 +- docs/models/operations/responsebodyoutput.md | 2 +- .../operations/responsebodyownertype.md | 2 +- docs/models/operations/responsebodyplan.md | 2 +- .../models/operations/responsebodyprovider.md | 2 +- docs/models/operations/responsebodyquote.md | 2 +- .../operations/responsebodyreadysubstate.md | 2 +- docs/models/operations/responsebodyrecords.md | 10 +- docs/models/operations/responsebodyroutes.md | 4 +- docs/models/operations/responsebodysource.md | 2 +- docs/models/operations/responsebodyuser.md | 4 +- docs/models/operations/result.md | 15 + docs/models/operations/rfi.md | 8 +- docs/models/operations/roles.md | 2 +- docs/models/operations/roles1.md | 2 +- docs/models/operations/routes.md | 4 +- docs/models/operations/routes2.md | 2 +- docs/models/operations/routes3.md | 2 +- docs/models/operations/routeshandle.md | 2 +- docs/models/operations/rules.md | 4 +- docs/models/operations/sd.md | 10 +- .../operations/searchreporesponsebody.md | 12 +- .../operations/searchreporesponsebody2.md | 14 +- .../operations/searchreporesponsebodyid.md | 2 +- .../searchreporesponsebodyprovider.md | 2 +- docs/models/operations/secrets.md | 19 + docs/models/operations/seven.md | 2 +- docs/models/operations/sf.md | 2 +- docs/models/operations/six.md | 2 +- .../skipautodetectionconfirmation.md | 2 +- docs/models/operations/sources.md | 2 +- docs/models/operations/sqli.md | 2 +- docs/models/operations/srv.md | 6 +- docs/models/operations/state.md | 8 +- .../operations/submitbillingdatarequest.md | 18 + .../submitbillingdatarequestbody.md | 48 + .../operations/submitbillingdatatype.md | 17 + .../operations/submitinvoicediscounts.md | 25 + docs/models/operations/submitinvoiceitems.md | 31 + docs/models/operations/submitinvoiceperiod.md | 21 + .../models/operations/submitinvoicerequest.md | 18 + .../operations/submitinvoicerequestbody.md | 37 + .../operations/submitinvoiceresponsebody.md | 17 + docs/models/operations/teams.md | 8 +- docs/models/operations/ten.md | 2 +- docs/models/operations/test.md | 18 + docs/models/operations/three.md | 2 +- docs/models/operations/transfer.md | 4 +- docs/models/operations/transferpolicy.md | 2 +- docs/models/operations/twotarget.md | 2 +- .../updateattackchallengemoderesponsebody.md | 2 +- .../updateedgeconfigresponsebody.md | 4 +- .../operations/updateedgeconfigtransfer.md | 4 +- .../updatefirewallconfigactionsecurity1.md | 2 +- .../updatefirewallconfigratelimit1.md | 6 +- .../updatefirewallconfigratelimitaction.md | 2 +- .../updatefirewallconfigratelimitsecurity1.md | 4 +- ...tefirewallconfigratelimitsecurityaction.md | 2 +- .../updatefirewallconfigrequestbody.md | 22 +- .../updatefirewallconfigrequestbody2.md | 4 +- .../updatefirewallconfigrequestbody3.md | 4 +- .../updatefirewallconfigrequestbody5.md | 2 +- ...firewallconfigrequestbodyconditiongroup.md | 4 +- ...datefirewallconfigrequestbodyconditions.md | 2 +- ...updatefirewallconfigrequestbodymitigate.md | 2 +- .../updatefirewallconfigrequestbodyop.md | 2 +- ...pdatefirewallconfigrequestbodyratelimit.md | 6 +- ...lconfigrequestbodysecurityrequest2value.md | 2 +- ...grequestbodysecurityrequest2valueaction.md | 2 +- ...lconfigrequestbodysecurityrequest3value.md | 2 +- ...grequestbodysecurityrequest8valueaction.md | 3 +- ...lconfigrequestbodysecurityrequest9value.md | 6 +- ...grequestbodysecurityrequest9valueaction.md | 2 +- ...llconfigrequestbodysecurityrequestvalue.md | 6 +- ...tefirewallconfigrequestbodysecuritytype.md | 2 +- .../updatefirewallconfigrequestbodytype.md | 2 +- .../updatefirewallconfigrequestbodyvalue.md | 4 +- .../models/operations/updateinvoicerequest.md | 20 + .../operations/updateinvoicerequestbody.md | 21 + .../updateprojectdomainverification.md | 2 +- .../operations/updateprojectpermissions.md | 2 + ...projectprotectionbypassprotectionbypass.md | 2 +- docs/models/operations/updaterecorddnstype.md | 2 +- docs/models/operations/updaterecordrequest.md | 8 +- .../operations/updaterecordrequestbody.md | 8 +- .../operations/updaterecordresponsebody.md | 4 +- .../updateresourcesecretsrequest.md | 22 + .../updateresourcesecretsrequestbody.md | 22 + .../operations/uploadcertresponsebody.md | 4 +- docs/models/operations/usage.md | 28 + docs/models/operations/user.md | 4 +- docs/models/operations/verification.md | 2 +- docs/models/operations/verified.md | 17 + .../verifyprojectdomainverification.md | 2 +- docs/models/operations/view.md | 2 +- docs/sdks/authentication/README.md | 69 + docs/sdks/marketplace/README.md | 694 +++++++++ docs/sdks/projects/README.md | 85 ++ jsr.json | 2 +- package.json | 4 +- src/funcs/authenticationExchangeSsoToken.ts | 125 ++ src/funcs/marketplaceCreateEvent.ts | 137 ++ src/funcs/marketplaceExchangeSsoToken.ts | 125 ++ src/funcs/marketplaceGetAccountInfo.ts | 137 ++ src/funcs/marketplaceGetInvoice.ts | 141 ++ src/funcs/marketplaceGetMember.ts | 141 ++ src/funcs/marketplaceSubmitBillingData.ts | 137 ++ src/funcs/marketplaceSubmitInvoice.ts | 138 ++ src/funcs/marketplaceUpdateInvoice.ts | 141 ++ src/funcs/marketplaceUpdateResourceSecrets.ts | 146 ++ src/funcs/projectsGetProjectDomains.ts | 150 ++ src/lib/config.ts | 4 +- src/models/components/authuser.ts | 3 +- src/models/components/security.ts | 8 +- src/models/operations/createevent.ts | 373 +++++ src/models/operations/createproject.ts | 8 + src/models/operations/createteam.ts | 55 +- src/models/operations/deletedeployment.ts | 31 +- src/models/operations/exchangessotoken.ts | 192 +++ src/models/operations/getaccountinfo.ts | 187 +++ src/models/operations/getinvoice.ts | 454 ++++++ src/models/operations/getmember.ts | 160 +++ src/models/operations/getprojectdomains.ts | 571 ++++++++ src/models/operations/getprojects.ts | 8 + src/models/operations/putfirewallconfig.ts | 195 +-- src/models/operations/submitbillingdata.ts | 813 +++++++++++ src/models/operations/submitinvoice.ts | 593 ++++++++ src/models/operations/updateinvoice.ts | 180 +++ src/models/operations/updateproject.ts | 8 + .../operations/updateprojectdatacache.ts | 8 + .../operations/updateresourcesecrets.ts | 206 +++ src/sdk/authentication.ts | 22 + src/sdk/marketplace.ts | 194 +++ src/sdk/projects.ts | 22 + src/sdk/sdk.ts | 16 +- vercel-spec.json | 1279 ++++++++++++++++- 629 files changed, 10182 insertions(+), 1136 deletions(-) create mode 100644 docs/models/operations/billing1.md create mode 100644 docs/models/operations/billing2.md create mode 100644 docs/models/operations/billingitems.md create mode 100644 docs/models/operations/contact.md create mode 100644 docs/models/operations/createeventevent.md create mode 100644 docs/models/operations/createeventeventtype.md create mode 100644 docs/models/operations/createeventrequest.md create mode 100644 docs/models/operations/createeventrequestbody.md create mode 100644 docs/models/operations/createteambilling.md create mode 100644 docs/models/operations/deletedeploymentstate.md create mode 100644 docs/models/operations/discounts.md create mode 100644 docs/models/operations/event1.md create mode 100644 docs/models/operations/event2.md create mode 100644 docs/models/operations/eventtype.md create mode 100644 docs/models/operations/exchangessotokenrequestbody.md create mode 100644 docs/models/operations/exchangessotokenresponsebody.md create mode 100644 docs/models/operations/getaccountinforequest.md create mode 100644 docs/models/operations/getaccountinforesponsebody.md create mode 100644 docs/models/operations/getinvoicediscounts.md create mode 100644 docs/models/operations/getinvoiceitems.md create mode 100644 docs/models/operations/getinvoiceperiod.md create mode 100644 docs/models/operations/getinvoicerequest.md create mode 100644 docs/models/operations/getinvoiceresponsebody.md create mode 100644 docs/models/operations/getmemberrequest.md create mode 100644 docs/models/operations/getmemberresponsebody.md create mode 100644 docs/models/operations/getmemberrole.md create mode 100644 docs/models/operations/getprojectdomainsdomains.md create mode 100644 docs/models/operations/getprojectdomainsrequest.md create mode 100644 docs/models/operations/getprojectdomainsresponsebody.md create mode 100644 docs/models/operations/getprojectdomainsverification.md create mode 100644 docs/models/operations/order.md create mode 100644 docs/models/operations/period.md create mode 100644 docs/models/operations/production.md create mode 100644 docs/models/operations/putfirewallconfigsecurityrequestrequestbodycrsphpaction.md create mode 100644 docs/models/operations/queryparamtarget.md create mode 100644 docs/models/operations/redirects.md create mode 100644 docs/models/operations/result.md create mode 100644 docs/models/operations/secrets.md create mode 100644 docs/models/operations/submitbillingdatarequest.md create mode 100644 docs/models/operations/submitbillingdatarequestbody.md create mode 100644 docs/models/operations/submitbillingdatatype.md create mode 100644 docs/models/operations/submitinvoicediscounts.md create mode 100644 docs/models/operations/submitinvoiceitems.md create mode 100644 docs/models/operations/submitinvoiceperiod.md create mode 100644 docs/models/operations/submitinvoicerequest.md create mode 100644 docs/models/operations/submitinvoicerequestbody.md create mode 100644 docs/models/operations/submitinvoiceresponsebody.md create mode 100644 docs/models/operations/test.md create mode 100644 docs/models/operations/updateinvoicerequest.md create mode 100644 docs/models/operations/updateinvoicerequestbody.md create mode 100644 docs/models/operations/updateresourcesecretsrequest.md create mode 100644 docs/models/operations/updateresourcesecretsrequestbody.md create mode 100644 docs/models/operations/usage.md create mode 100644 docs/models/operations/verified.md create mode 100644 docs/sdks/marketplace/README.md create mode 100644 src/funcs/authenticationExchangeSsoToken.ts create mode 100644 src/funcs/marketplaceCreateEvent.ts create mode 100644 src/funcs/marketplaceExchangeSsoToken.ts create mode 100644 src/funcs/marketplaceGetAccountInfo.ts create mode 100644 src/funcs/marketplaceGetInvoice.ts create mode 100644 src/funcs/marketplaceGetMember.ts create mode 100644 src/funcs/marketplaceSubmitBillingData.ts create mode 100644 src/funcs/marketplaceSubmitInvoice.ts create mode 100644 src/funcs/marketplaceUpdateInvoice.ts create mode 100644 src/funcs/marketplaceUpdateResourceSecrets.ts create mode 100644 src/funcs/projectsGetProjectDomains.ts create mode 100644 src/models/operations/createevent.ts create mode 100644 src/models/operations/exchangessotoken.ts create mode 100644 src/models/operations/getaccountinfo.ts create mode 100644 src/models/operations/getinvoice.ts create mode 100644 src/models/operations/getmember.ts create mode 100644 src/models/operations/getprojectdomains.ts create mode 100644 src/models/operations/submitbillingdata.ts create mode 100644 src/models/operations/submitinvoice.ts create mode 100644 src/models/operations/updateinvoice.ts create mode 100644 src/models/operations/updateresourcesecrets.ts create mode 100644 src/sdk/marketplace.ts diff --git a/.devcontainer/README.md b/.devcontainer/README.md index aaab4dd1..fb4c3e32 100644 --- a/.devcontainer/README.md +++ b/.devcontainer/README.md @@ -1,6 +1,6 @@
- +

diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index 1bc18ac1..2ff25ddd 100644 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -1,15 +1,15 @@ lockVersion: 2.0.0 id: 2b328f77-299a-476f-8aa9-59080c9107fe management: - docChecksum: cab8d497813caf91acc2287c987f03b7 + docChecksum: a5a99e306824d2c16bc508616034bf73 docVersion: 0.0.1 speakeasyVersion: 1.445.2 generationVersion: 2.461.4 - releaseVersion: 14.0.0-canary.7 - configChecksum: 31b7bf5c1cf8212c4f29624507cc383a - repoURL: https://github.com/vercel/vercel-sdk.git + releaseVersion: 14.0.0-canary.9 + configChecksum: b5f5a54ffe778cfe79054fa70dec07d6 + repoURL: https://github.com/vercel/sdk.git repoSubDirectory: packages/sdk - installationURL: https://github.com/vercel/vercel-sdk + installationURL: https://github.com/vercel/sdk published: true features: typescript: @@ -141,6 +141,9 @@ generatedFiles: - docs/models/operations/backup.md - docs/models/operations/backups.md - docs/models/operations/billing.md + - docs/models/operations/billing1.md + - docs/models/operations/billing2.md + - docs/models/operations/billingitems.md - docs/models/operations/billingplan.md - docs/models/operations/bitbucket.md - docs/models/operations/branchmatcher.md @@ -250,6 +253,7 @@ generatedFiles: - docs/models/operations/conditiongroup.md - docs/models/operations/conditions.md - docs/models/operations/configuredby.md + - docs/models/operations/contact.md - docs/models/operations/contenthint.md - docs/models/operations/contenthint1.md - docs/models/operations/contenthint10.md @@ -365,6 +369,10 @@ generatedFiles: - docs/models/operations/createedgeconfigtokenresponsebody.md - docs/models/operations/createedgeconfigtransfer.md - docs/models/operations/createedgeconfigtype.md + - docs/models/operations/createeventevent.md + - docs/models/operations/createeventeventtype.md + - docs/models/operations/createeventrequest.md + - docs/models/operations/createeventrequestbody.md - docs/models/operations/createlogdraincreatedfrom.md - docs/models/operations/createlogdraindeliveryformat.md - docs/models/operations/createlogdrainenvironments.md @@ -610,6 +618,7 @@ generatedFiles: - docs/models/operations/createrecordresponsebody.md - docs/models/operations/createrecordresponsebody1.md - docs/models/operations/createrecordresponsebody2.md + - docs/models/operations/createteambilling.md - docs/models/operations/createteamrequestbody.md - docs/models/operations/createteamresponsebody.md - docs/models/operations/createwebhookevents.md @@ -637,6 +646,7 @@ generatedFiles: - docs/models/operations/deleteconfigurationrequest.md - docs/models/operations/deletedeploymentrequest.md - docs/models/operations/deletedeploymentresponsebody.md + - docs/models/operations/deletedeploymentstate.md - docs/models/operations/deletedomainrequest.md - docs/models/operations/deletedomainresponsebody.md - docs/models/operations/deleteedgeconfigrequest.md @@ -660,6 +670,7 @@ generatedFiles: - docs/models/operations/details.md - docs/models/operations/direction.md - docs/models/operations/disabledreason.md + - docs/models/operations/discounts.md - docs/models/operations/domain.md - docs/models/operations/domains.md - docs/models/operations/downloadartifactrequest.md @@ -718,7 +729,12 @@ generatedFiles: - docs/models/operations/erl.md - docs/models/operations/errort.md - docs/models/operations/event.md + - docs/models/operations/event1.md + - docs/models/operations/event2.md - docs/models/operations/events.md + - docs/models/operations/eventtype.md + - docs/models/operations/exchangessotokenrequestbody.md + - docs/models/operations/exchangessotokenresponsebody.md - docs/models/operations/failed.md - docs/models/operations/fcp.md - docs/models/operations/fifteen.md @@ -851,6 +867,8 @@ generatedFiles: - docs/models/operations/functions.md - docs/models/operations/gen.md - docs/models/operations/generate.md + - docs/models/operations/getaccountinforequest.md + - docs/models/operations/getaccountinforesponsebody.md - docs/models/operations/getaliascreator.md - docs/models/operations/getaliasprotectionbypass.md - docs/models/operations/getaliasprotectionbypassaliasesresponsescope.md @@ -1148,8 +1166,20 @@ generatedFiles: - docs/models/operations/getintegrationlogdrainsrequest.md - docs/models/operations/getintegrationlogdrainsresponsebody.md - docs/models/operations/getintegrationlogdrainssources.md + - docs/models/operations/getinvoicediscounts.md + - docs/models/operations/getinvoiceitems.md + - docs/models/operations/getinvoiceperiod.md + - docs/models/operations/getinvoicerequest.md + - docs/models/operations/getinvoiceresponsebody.md + - docs/models/operations/getmemberrequest.md + - docs/models/operations/getmemberresponsebody.md + - docs/models/operations/getmemberrole.md - docs/models/operations/getprojectdomainrequest.md - docs/models/operations/getprojectdomainresponsebody.md + - docs/models/operations/getprojectdomainsdomains.md + - docs/models/operations/getprojectdomainsrequest.md + - docs/models/operations/getprojectdomainsresponsebody.md + - docs/models/operations/getprojectdomainsverification.md - docs/models/operations/getprojectenvcontenthint1.md - docs/models/operations/getprojectenvcontenthint10.md - docs/models/operations/getprojectenvcontenthint11.md @@ -1596,6 +1626,7 @@ generatedFiles: - docs/models/operations/op.md - docs/models/operations/options.md - docs/models/operations/optionsallowlist.md + - docs/models/operations/order.md - docs/models/operations/origin.md - docs/models/operations/output.md - docs/models/operations/owasp.md @@ -1617,9 +1648,11 @@ generatedFiles: - docs/models/operations/patchteamrequest.md - docs/models/operations/patchteamrequestbody.md - docs/models/operations/paths.md + - docs/models/operations/period.md - docs/models/operations/permissions.md - docs/models/operations/php.md - docs/models/operations/plan.md + - docs/models/operations/production.md - docs/models/operations/project.md - docs/models/operations/projectid.md - docs/models/operations/projects.md @@ -1667,6 +1700,7 @@ generatedFiles: - docs/models/operations/putfirewallconfigsecurityrequestrequestbodycrsaction.md - docs/models/operations/putfirewallconfigsecurityrequestrequestbodycrsgenaction.md - docs/models/operations/putfirewallconfigsecurityrequestrequestbodycrsjavaaction.md + - docs/models/operations/putfirewallconfigsecurityrequestrequestbodycrsphpaction.md - docs/models/operations/putfirewallconfigsecurityrequestrequestbodycrssfaction.md - docs/models/operations/putfirewallconfigsecurityrequestrequestbodycrssqliaction.md - docs/models/operations/putfirewallconfigsecurityrequestrequestbodycrsxssaction.md @@ -1698,6 +1732,7 @@ generatedFiles: - docs/models/operations/putfirewallconfigxss.md - docs/models/operations/queryparamprovider.md - docs/models/operations/queryparamrole.md + - docs/models/operations/queryparamtarget.md - docs/models/operations/queryparamtype.md - docs/models/operations/quote.md - docs/models/operations/ratelimit.md @@ -1718,6 +1753,7 @@ generatedFiles: - docs/models/operations/recordtype.md - docs/models/operations/redirect.md - docs/models/operations/redirect1.md + - docs/models/operations/redirects.md - docs/models/operations/redirectstatuscode.md - docs/models/operations/remotecaching.md - docs/models/operations/removecertrequest.md @@ -1947,6 +1983,7 @@ generatedFiles: - docs/models/operations/responsebodytype.md - docs/models/operations/responsebodyuser.md - docs/models/operations/responsebodywebanalytics.md + - docs/models/operations/result.md - docs/models/operations/revoke.md - docs/models/operations/rfi.md - docs/models/operations/role.md @@ -1972,6 +2009,7 @@ generatedFiles: - docs/models/operations/searchreporesponsebody2.md - docs/models/operations/searchreporesponsebodyid.md - docs/models/operations/searchreporesponsebodyprovider.md + - docs/models/operations/secrets.md - docs/models/operations/security.md - docs/models/operations/servicetype.md - docs/models/operations/seven.md @@ -1993,6 +2031,15 @@ generatedFiles: - docs/models/operations/statusresponsebody.md - docs/models/operations/statusstatus.md - docs/models/operations/strict.md + - docs/models/operations/submitbillingdatarequest.md + - docs/models/operations/submitbillingdatarequestbody.md + - docs/models/operations/submitbillingdatatype.md + - docs/models/operations/submitinvoicediscounts.md + - docs/models/operations/submitinvoiceitems.md + - docs/models/operations/submitinvoiceperiod.md + - docs/models/operations/submitinvoicerequest.md + - docs/models/operations/submitinvoicerequestbody.md + - docs/models/operations/submitinvoiceresponsebody.md - docs/models/operations/target.md - docs/models/operations/target1.md - docs/models/operations/target2.md @@ -2002,6 +2049,7 @@ generatedFiles: - docs/models/operations/teamrole.md - docs/models/operations/teams.md - docs/models/operations/ten.md + - docs/models/operations/test.md - docs/models/operations/thirteen.md - docs/models/operations/three.md - docs/models/operations/tier.md @@ -2111,6 +2159,8 @@ generatedFiles: - docs/models/operations/updatefirewallconfigrequestbodytype.md - docs/models/operations/updatefirewallconfigrequestbodyvalue.md - docs/models/operations/updatefirewallconfigresponsebody.md + - docs/models/operations/updateinvoicerequest.md + - docs/models/operations/updateinvoicerequestbody.md - docs/models/operations/updateprojectaction.md - docs/models/operations/updateprojectalgo.md - docs/models/operations/updateprojectaliasassigned.md @@ -2336,6 +2386,8 @@ generatedFiles: - docs/models/operations/updaterecordrequestbody.md - docs/models/operations/updaterecordresponsebody.md - docs/models/operations/updaterecordtype.md + - docs/models/operations/updateresourcesecretsrequest.md + - docs/models/operations/updateresourcesecretsrequestbody.md - docs/models/operations/updateteammemberjoinedfrom.md - docs/models/operations/updateteammemberprojects.md - docs/models/operations/updateteammemberrequest.md @@ -2352,9 +2404,11 @@ generatedFiles: - docs/models/operations/uploadfileresponsebody.md - docs/models/operations/uploadfileresponsebody1.md - docs/models/operations/uploadfileresponsebody2.md + - docs/models/operations/usage.md - docs/models/operations/user.md - docs/models/operations/utm.md - docs/models/operations/verification.md + - docs/models/operations/verified.md - docs/models/operations/verifiedbotsbypass.md - docs/models/operations/verifyprojectdomainrequest.md - docs/models/operations/verifyprojectdomainresponsebody.md @@ -2375,6 +2429,7 @@ generatedFiles: - docs/sdks/edgeconfig/README.md - docs/sdks/integrations/README.md - docs/sdks/logdrains/README.md + - docs/sdks/marketplace/README.md - docs/sdks/projectmembers/README.md - docs/sdks/projects/README.md - docs/sdks/security/README.md @@ -2409,6 +2464,7 @@ generatedFiles: - src/funcs/artifactsUploadArtifact.ts - src/funcs/authenticationCreateAuthToken.ts - src/funcs/authenticationDeleteAuthToken.ts + - src/funcs/authenticationExchangeSsoToken.ts - src/funcs/authenticationGetAuthToken.ts - src/funcs/authenticationListAuthTokens.ts - src/funcs/certsGetCertById.ts @@ -2471,6 +2527,15 @@ generatedFiles: - src/funcs/logDrainsGetAllLogDrains.ts - src/funcs/logDrainsGetConfigurableLogDrain.ts - src/funcs/logDrainsGetIntegrationLogDrains.ts + - src/funcs/marketplaceCreateEvent.ts + - src/funcs/marketplaceExchangeSsoToken.ts + - src/funcs/marketplaceGetAccountInfo.ts + - src/funcs/marketplaceGetInvoice.ts + - src/funcs/marketplaceGetMember.ts + - src/funcs/marketplaceSubmitBillingData.ts + - src/funcs/marketplaceSubmitInvoice.ts + - src/funcs/marketplaceUpdateInvoice.ts + - src/funcs/marketplaceUpdateResourceSecrets.ts - src/funcs/projectMembersAddProjectMember.ts - src/funcs/projectMembersGetProjectMembers.ts - src/funcs/projectMembersRemoveProjectMember.ts @@ -2481,6 +2546,7 @@ generatedFiles: - src/funcs/projectsEditProjectEnv.ts - src/funcs/projectsFilterProjectEnvs.ts - src/funcs/projectsGetProjectDomain.ts + - src/funcs/projectsGetProjectDomains.ts - src/funcs/projectsGetProjectEnv.ts - src/funcs/projectsGetProjects.ts - src/funcs/projectsListPromoteAliases.ts @@ -2567,6 +2633,7 @@ generatedFiles: - src/models/operations/createdeployment.ts - src/models/operations/createedgeconfig.ts - src/models/operations/createedgeconfigtoken.ts + - src/models/operations/createevent.ts - src/models/operations/createlogdrain.ts - src/models/operations/createortransferdomain.ts - src/models/operations/createproject.ts @@ -2592,7 +2659,9 @@ generatedFiles: - src/models/operations/deletewebhook.ts - src/models/operations/downloadartifact.ts - src/models/operations/editprojectenv.ts + - src/models/operations/exchangessotoken.ts - src/models/operations/filterprojectenvs.ts + - src/models/operations/getaccountinfo.ts - src/models/operations/getalias.ts - src/models/operations/getallchecks.ts - src/models/operations/getalllogdrains.ts @@ -2622,7 +2691,10 @@ generatedFiles: - src/models/operations/getedgeconfigtokens.ts - src/models/operations/getfirewallconfig.ts - src/models/operations/getintegrationlogdrains.ts + - src/models/operations/getinvoice.ts + - src/models/operations/getmember.ts - src/models/operations/getprojectdomain.ts + - src/models/operations/getprojectdomains.ts - src/models/operations/getprojectenv.ts - src/models/operations/getprojectmembers.ts - src/models/operations/getprojects.ts @@ -2665,17 +2737,21 @@ generatedFiles: - src/models/operations/rerequestcheck.ts - src/models/operations/searchrepo.ts - src/models/operations/status.ts + - src/models/operations/submitbillingdata.ts + - src/models/operations/submitinvoice.ts - src/models/operations/updateaccessgroup.ts - src/models/operations/updateaccessgroupproject.ts - src/models/operations/updateattackchallengemode.ts - src/models/operations/updatecheck.ts - src/models/operations/updateedgeconfig.ts - src/models/operations/updatefirewallconfig.ts + - src/models/operations/updateinvoice.ts - src/models/operations/updateproject.ts - src/models/operations/updateprojectdatacache.ts - src/models/operations/updateprojectdomain.ts - src/models/operations/updateprojectprotectionbypass.ts - src/models/operations/updaterecord.ts + - src/models/operations/updateresourcesecrets.ts - src/models/operations/updateteammember.ts - src/models/operations/uploadartifact.ts - src/models/operations/uploadcert.ts @@ -2693,6 +2769,7 @@ generatedFiles: - src/sdk/edgeconfig.ts - src/sdk/integrations.ts - src/sdk/logdrains.ts + - src/sdk/marketplace.ts - src/sdk/projectmembers.ts - src/sdk/projects.ts - src/sdk/sdk.ts @@ -3970,3 +4047,63 @@ examples: accessGroupIdOrName: "" projectId: "" query: {} + get-account-info: + speakeasy-default-get-account-info: + parameters: + path: + integrationConfigurationId: "" + responses: + "200": + application/json: {"url": "https://friendly-pleasure.info", "contact": {"email": "Horace_Bernhard@yahoo.com"}} + get-member: + speakeasy-default-get-member: + parameters: + path: + integrationConfigurationId: "" + memberId: "" + responses: + "200": + application/json: {"id": "", "role": "ADMIN"} + create-event: + speakeasy-default-create-event: + parameters: + path: + integrationConfigurationId: "" + submit-billing-data: + speakeasy-default-submit-billing-data: + parameters: + path: + integrationConfigurationId: "" + submit-invoice: + speakeasy-default-submit-invoice: + parameters: + path: + integrationConfigurationId: "" + get-invoice: + speakeasy-default-get-invoice: + parameters: + path: + integrationConfigurationId: "" + invoiceId: "" + responses: + "200": + application/json: {"invoiceId": "", "invoiceDate": "", "period": {"start": "", "end": ""}, "items": [{"billingPlanId": "", "name": "", "price": "317.28", "quantity": "1022.19", "units": "", "total": ""}], "total": "", "created": "", "updated": "", "state": "scheduled", "test": false} + update-invoice: + speakeasy-default-update-invoice: + parameters: + path: + integrationConfigurationId: "" + invoiceId: "" + update-resource-secrets: + speakeasy-default-update-resource-secrets: + parameters: + path: + integrationConfigurationId: "" + integrationProductIdOrSlug: "" + resourceId: "" + exchange-sso-token: + speakeasy-default-exchange-sso-token: + responses: + "200": + application/json: {"id_token": "", "access_token": "", "token_type": ""} +generatedTests: {} diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index 523853d7..6ee41d2d 100644 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -16,7 +16,7 @@ generation: oAuth2ClientCredentialsEnabled: false oAuth2PasswordEnabled: false typescript: - version: 14.0.0-canary.7 + version: 14.0.0-canary.9 additionalDependencies: dependencies: {} devDependencies: {} @@ -30,6 +30,7 @@ typescript: - --filter - '@vercel/sdk' defaultErrorName: SDKError + enableReactQuery: false enumFormat: union flattenGlobalSecurity: true flatteningOrder: body-first diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index 047d9356..56d62b55 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -2,20 +2,20 @@ speakeasyVersion: 1.445.2 sources: vercel-OAS: sourceNamespace: vercel-oas - sourceRevisionDigest: sha256:dc08ff6a92ddd5c6ac76825eda6c26647eff8b731e99027cf8e1729ff8d15ee3 - sourceBlobDigest: sha256:f1346ee501f87bc795fc3fbbc66764a61621662d6911e41807233dbf68815d64 + sourceRevisionDigest: sha256:0dc41dacccf85300753597cc90d024a0806849f6443750c55c8bc09bd8673b49 + sourceBlobDigest: sha256:1b68cf40f5d005b45e13153e3c957347577e1d763a10575c3945879e06b3315d tags: - latest - - speakeasy-sdk-regen-1732552350 + - speakeasy-sdk-regen-1733258664 - 0.0.1 targets: vercel: source: vercel-OAS sourceNamespace: vercel-oas - sourceRevisionDigest: sha256:dc08ff6a92ddd5c6ac76825eda6c26647eff8b731e99027cf8e1729ff8d15ee3 - sourceBlobDigest: sha256:f1346ee501f87bc795fc3fbbc66764a61621662d6911e41807233dbf68815d64 - codeSamplesNamespace: vercel-oas-code-samples - codeSamplesRevisionDigest: sha256:ba5448bab7783f60acb7c1cdf72cd2fec62da173fe73aadba41e893c5e5e3667 + sourceRevisionDigest: sha256:0dc41dacccf85300753597cc90d024a0806849f6443750c55c8bc09bd8673b49 + sourceBlobDigest: sha256:1b68cf40f5d005b45e13153e3c957347577e1d763a10575c3945879e06b3315d + codeSamplesNamespace: vercel-oas-typescript-code-samples + codeSamplesRevisionDigest: sha256:765c7b0b705cba34e2e3c64627f4eb5ea5b24ede0b7c6b884b41e26a1931feae workflow: workflowVersion: 1.0.0 speakeasyVersion: latest @@ -38,5 +38,5 @@ workflow: token: $npm_token codeSamples: registry: - location: registry.speakeasyapi.dev/vercel/vercel-docs/vercel-oas-code-samples + location: registry.speakeasyapi.dev/vercel/vercel-docs/vercel-oas-typescript-code-samples blocking: false diff --git a/.speakeasy/workflow.yaml b/.speakeasy/workflow.yaml index 646c80c1..48eb5fdf 100644 --- a/.speakeasy/workflow.yaml +++ b/.speakeasy/workflow.yaml @@ -19,5 +19,5 @@ targets: token: $npm_token codeSamples: registry: - location: registry.speakeasyapi.dev/vercel/vercel-docs/vercel-oas-code-samples + location: registry.speakeasyapi.dev/vercel/vercel-docs/vercel-oas-typescript-code-samples blocking: false diff --git a/README.md b/README.md index 67f51b6a..083e225f 100644 --- a/README.md +++ b/README.md @@ -225,6 +225,7 @@ run(); ### [authentication](docs/sdks/authentication/README.md) +* [exchangeSsoToken](docs/sdks/authentication/README.md#exchangessotoken) - SSO Token Exchange * [listAuthTokens](docs/sdks/authentication/README.md#listauthtokens) - List Auth Tokens * [createAuthToken](docs/sdks/authentication/README.md#createauthtoken) - Create an Auth Token * [getAuthToken](docs/sdks/authentication/README.md#getauthtoken) - Get Auth Token Metadata @@ -314,6 +315,18 @@ run(); * [getAllLogDrains](docs/sdks/logdrains/README.md#getalllogdrains) - Retrieves a list of all the Log Drains * [createConfigurableLogDrain](docs/sdks/logdrains/README.md#createconfigurablelogdrain) - Creates a Configurable Log Drain +### [marketplace](docs/sdks/marketplace/README.md) + +* [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 +* [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 +* [updateInvoice](docs/sdks/marketplace/README.md#updateinvoice) - Invoice Actions +* [updateResourceSecrets](docs/sdks/marketplace/README.md#updateresourcesecrets) - Update Resource Secrets +* [exchangeSsoToken](docs/sdks/marketplace/README.md#exchangessotoken) - SSO Token Exchange + ### [projectMembers](docs/sdks/projectmembers/README.md) * [getProjectMembers](docs/sdks/projectmembers/README.md#getprojectmembers) - List project members @@ -327,6 +340,7 @@ run(); * [createProject](docs/sdks/projects/README.md#createproject) - Create a new project * [updateProject](docs/sdks/projects/README.md#updateproject) - Update an existing project * [deleteProject](docs/sdks/projects/README.md#deleteproject) - Delete a Project +* [getProjectDomains](docs/sdks/projects/README.md#getprojectdomains) - Retrieve project domains by project by id or name * [getProjectDomain](docs/sdks/projects/README.md#getprojectdomain) - Get a project domain * [updateProjectDomain](docs/sdks/projects/README.md#updateprojectdomain) - Update a project domain * [removeProjectDomain](docs/sdks/projects/README.md#removeprojectdomain) - Remove a domain from a project @@ -420,6 +434,7 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md). - [`artifactsUploadArtifact`](docs/sdks/artifacts/README.md#uploadartifact) - Upload a cache artifact - [`authenticationCreateAuthToken`](docs/sdks/authentication/README.md#createauthtoken) - Create an Auth Token - [`authenticationDeleteAuthToken`](docs/sdks/authentication/README.md#deleteauthtoken) - Delete an authentication token +- [`authenticationExchangeSsoToken`](docs/sdks/authentication/README.md#exchangessotoken) - SSO Token Exchange - [`authenticationGetAuthToken`](docs/sdks/authentication/README.md#getauthtoken) - Get Auth Token Metadata - [`authenticationListAuthTokens`](docs/sdks/authentication/README.md#listauthtokens) - List Auth Tokens - [`certsGetCertById`](docs/sdks/certs/README.md#getcertbyid) - Get cert by id @@ -482,6 +497,15 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md). - [`logDrainsGetAllLogDrains`](docs/sdks/logdrains/README.md#getalllogdrains) - Retrieves a list of all the Log Drains - [`logDrainsGetConfigurableLogDrain`](docs/sdks/logdrains/README.md#getconfigurablelogdrain) - Retrieves a Configurable Log Drain - [`logDrainsGetIntegrationLogDrains`](docs/sdks/logdrains/README.md#getintegrationlogdrains) - Retrieves a list of Integration log drains +- [`marketplaceCreateEvent`](docs/sdks/marketplace/README.md#createevent) - Create Event +- [`marketplaceExchangeSsoToken`](docs/sdks/marketplace/README.md#exchangessotoken) - SSO Token Exchange +- [`marketplaceGetAccountInfo`](docs/sdks/marketplace/README.md#getaccountinfo) - Get Account Information +- [`marketplaceGetInvoice`](docs/sdks/marketplace/README.md#getinvoice) - Get Invoice +- [`marketplaceGetMember`](docs/sdks/marketplace/README.md#getmember) - Get Member Information +- [`marketplaceSubmitBillingData`](docs/sdks/marketplace/README.md#submitbillingdata) - Submit Billing Data +- [`marketplaceSubmitInvoice`](docs/sdks/marketplace/README.md#submitinvoice) - Submit Invoice +- [`marketplaceUpdateInvoice`](docs/sdks/marketplace/README.md#updateinvoice) - Invoice Actions +- [`marketplaceUpdateResourceSecrets`](docs/sdks/marketplace/README.md#updateresourcesecrets) - Update Resource Secrets - [`projectMembersAddProjectMember`](docs/sdks/projectmembers/README.md#addprojectmember) - Adds a new member to a project. - [`projectMembersGetProjectMembers`](docs/sdks/projectmembers/README.md#getprojectmembers) - List project members - [`projectMembersRemoveProjectMember`](docs/sdks/projectmembers/README.md#removeprojectmember) - Remove a Project Member @@ -492,6 +516,7 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md). - [`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 - [`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 - [`projectsGetProjects`](docs/sdks/projects/README.md#getprojects) - Retrieve a list of projects - [`projectsListPromoteAliases`](docs/sdks/projects/README.md#listpromotealiases) - Gets a list of aliases with status for the current promote diff --git a/RELEASES.md b/RELEASES.md index ec274175..28d27105 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -58,4 +58,14 @@ Based on: ### Generated - [typescript v14.0.0-canary.7] . ### Releases -- [NPM v14.0.0-canary.7] https://www.npmjs.com/package/@vercel/sdk/v/14.0.0-canary.7 - . \ No newline at end of file +- [NPM v14.0.0-canary.7] https://www.npmjs.com/package/@vercel/sdk/v/14.0.0-canary.7 - . + +## 2024-12-03 20:44:19 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.445.2 (2.461.4) https://github.com/speakeasy-api/speakeasy +### Generated +- [typescript v14.0.0-canary.9] . +### Releases +- [NPM v14.0.0-canary.9] https://www.npmjs.com/package/@vercel/sdk/v/14.0.0-canary.9 - . \ No newline at end of file diff --git a/docs/models/components/aclaction.md b/docs/models/components/aclaction.md index ded66bbc..b3afbda8 100644 --- a/docs/models/components/aclaction.md +++ b/docs/models/components/aclaction.md @@ -7,7 +7,7 @@ Enum containing the actions that can be performed against a resource. Group oper ```typescript import { ACLAction } from "@vercel/sdk/models/components/aclaction.js"; -let value: ACLAction = "delete"; +let value: ACLAction = "read"; ``` ## Values diff --git a/docs/models/components/authtokenscopesorigin.md b/docs/models/components/authtokenscopesorigin.md index 4c923447..5fb214b6 100644 --- a/docs/models/components/authtokenscopesorigin.md +++ b/docs/models/components/authtokenscopesorigin.md @@ -5,7 +5,7 @@ ```typescript import { AuthTokenScopesOrigin } from "@vercel/sdk/models/components/authtoken.js"; -let value: AuthTokenScopesOrigin = "bitbucket"; +let value: AuthTokenScopesOrigin = "email"; ``` ## Values diff --git a/docs/models/components/authuser.md b/docs/models/components/authuser.md index bff661a2..21338226 100644 --- a/docs/models/components/authuser.md +++ b/docs/models/components/authuser.md @@ -10,8 +10,8 @@ import { AuthUser } from "@vercel/sdk/models/components/authuser.js"; let value: AuthUser = { createdAt: 1630748523395, softBlock: { - blockedAt: 7583.65, - reason: "SUBSCRIPTION_CANCELED", + blockedAt: 929.79, + reason: "BLOCKED_FOR_PLATFORM_ABUSE", }, billing: {}, resourceConfig: {}, diff --git a/docs/models/components/blockedduetooveragetype.md b/docs/models/components/blockedduetooveragetype.md index 8a393463..d47cfc4b 100644 --- a/docs/models/components/blockedduetooveragetype.md +++ b/docs/models/components/blockedduetooveragetype.md @@ -5,11 +5,11 @@ ```typescript import { BlockedDueToOverageType } from "@vercel/sdk/models/components/authuser.js"; -let value: BlockedDueToOverageType = "fastOriginTransfer"; +let value: BlockedDueToOverageType = "edgeRequest"; ``` ## Values ```typescript -"analyticsUsage" | "artifacts" | "bandwidth" | "blobStores" | "blobTotalAdvancedRequests" | "blobTotalAvgSizeInBytes" | "blobTotalGetResponseObjectSizeInBytes" | "blobTotalSimpleRequests" | "buildMinute" | "dataCacheRead" | "dataCacheRevalidation" | "dataCacheWrite" | "edgeConfigRead" | "edgeConfigWrite" | "edgeFunctionExecutionUnits" | "edgeMiddlewareInvocations" | "edgeRequest" | "edgeRequestAdditionalCpuDuration" | "fastDataTransfer" | "fastOriginTransfer" | "functionDuration" | "functionInvocation" | "logDrainsVolume" | "monitoringMetric" | "postgresComputeTime" | "postgresDataStorage" | "postgresDataTransfer" | "postgresDatabase" | "postgresWrittenData" | "serverlessFunctionExecution" | "sourceImages" | "storageRedisTotalBandwidthInBytes" | "storageRedisTotalCommands" | "storageRedisTotalDailyAvgStorageInBytes" | "storageRedisTotalDatabases" | "wafOwaspExcessBytes" | "wafOwaspRequests" | "wafRateLimitRequest" | "webAnalyticsEvent" +"analyticsUsage" | "artifacts" | "bandwidth" | "blobStores" | "blobTotalAdvancedRequests" | "blobTotalAvgSizeInBytes" | "blobTotalGetResponseObjectSizeInBytes" | "blobTotalSimpleRequests" | "buildMinute" | "dataCacheRead" | "dataCacheRevalidation" | "dataCacheWrite" | "edgeConfigRead" | "edgeConfigWrite" | "edgeFunctionExecutionUnits" | "edgeMiddlewareInvocations" | "edgeRequestAdditionalCpuDuration" | "edgeRequest" | "fastDataTransfer" | "fastOriginTransfer" | "functionDuration" | "functionInvocation" | "logDrainsVolume" | "monitoringMetric" | "observabilityEvent" | "postgresComputeTime" | "postgresDataStorage" | "postgresDataTransfer" | "postgresDatabase" | "postgresWrittenData" | "serverlessFunctionExecution" | "sourceImages" | "storageRedisTotalBandwidthInBytes" | "storageRedisTotalCommands" | "storageRedisTotalDailyAvgStorageInBytes" | "storageRedisTotalDatabases" | "wafOwaspExcessBytes" | "wafOwaspRequests" | "wafRateLimitRequest" | "webAnalyticsEvent" ``` \ No newline at end of file diff --git a/docs/models/components/dismissals.md b/docs/models/components/dismissals.md index 911e05c3..3639caf5 100644 --- a/docs/models/components/dismissals.md +++ b/docs/models/components/dismissals.md @@ -7,7 +7,7 @@ import { Dismissals } from "@vercel/sdk/models/components/authuser.js"; let value: Dismissals = { scopeId: "", - createdAt: 5929.46, + createdAt: 9999.64, }; ``` diff --git a/docs/models/components/dismissedtoasts.md b/docs/models/components/dismissedtoasts.md index 81776ae0..6b15e034 100644 --- a/docs/models/components/dismissedtoasts.md +++ b/docs/models/components/dismissedtoasts.md @@ -12,7 +12,7 @@ let value: DismissedToasts = { dismissals: [ { scopeId: "", - createdAt: 6124.25, + createdAt: 3091.92, }, ], }; diff --git a/docs/models/components/edgeconfigitem.md b/docs/models/components/edgeconfigitem.md index c4162f1c..68444838 100644 --- a/docs/models/components/edgeconfigitem.md +++ b/docs/models/components/edgeconfigitem.md @@ -9,10 +9,10 @@ import { EdgeConfigItem } from "@vercel/sdk/models/components/edgeconfigitem.js" let value: EdgeConfigItem = { key: "", - value: "", + value: {}, edgeConfigId: "", - createdAt: 1580.60, - updatedAt: 6650.82, + createdAt: 789.96, + updatedAt: 9464.16, }; ``` diff --git a/docs/models/components/edgeconfigitemvalue.md b/docs/models/components/edgeconfigitemvalue.md index b2ff27b0..c4a40eae 100644 --- a/docs/models/components/edgeconfigitemvalue.md +++ b/docs/models/components/edgeconfigitemvalue.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 7384.02; +const value: number = 4682.21; ``` ### `boolean` diff --git a/docs/models/components/edgeconfigtoken.md b/docs/models/components/edgeconfigtoken.md index b27dcdab..f1df5a82 100644 --- a/docs/models/components/edgeconfigtoken.md +++ b/docs/models/components/edgeconfigtoken.md @@ -12,7 +12,7 @@ let value: EdgeConfigToken = { label: "", id: "", edgeConfigId: "", - createdAt: 5882.02, + createdAt: 3361.23, }; ``` diff --git a/docs/models/components/filetree.md b/docs/models/components/filetree.md index 9a3d6021..13616fb9 100644 --- a/docs/models/components/filetree.md +++ b/docs/models/components/filetree.md @@ -13,7 +13,7 @@ let value: FileTree = { uid: "2d4aad419917f15b1146e9e03ddc9bb31747e4d0", children: [], contentType: "application/json", - mode: 7759.58, + mode: 1847.75, }; ``` diff --git a/docs/models/components/flagjsonvalue.md b/docs/models/components/flagjsonvalue.md index 8f99c7da..2970ccfb 100644 --- a/docs/models/components/flagjsonvalue.md +++ b/docs/models/components/flagjsonvalue.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 6091.64; +const value: number = 6090.79; ``` ### `boolean` diff --git a/docs/models/components/gitnamespaceid.md b/docs/models/components/gitnamespaceid.md index 2efc3d11..0270947e 100644 --- a/docs/models/components/gitnamespaceid.md +++ b/docs/models/components/gitnamespaceid.md @@ -12,6 +12,6 @@ const value: string = ""; ### `number` ```typescript -const value: number = 1541.17; +const value: number = 2870.20; ``` diff --git a/docs/models/components/gituserid.md b/docs/models/components/gituserid.md index a0c216af..295094ea 100644 --- a/docs/models/components/gituserid.md +++ b/docs/models/components/gituserid.md @@ -12,6 +12,6 @@ const value: string = ""; ### `number` ```typescript -const value: number = 1777.17; +const value: number = 1557.63; ``` diff --git a/docs/models/components/importflowgitnamespace.md b/docs/models/components/importflowgitnamespace.md index d43eba82..c38c6bb9 100644 --- a/docs/models/components/importflowgitnamespace.md +++ b/docs/models/components/importflowgitnamespace.md @@ -12,6 +12,6 @@ const value: string = ""; ### `number` ```typescript -const value: number = 9390.96; +const value: number = 2063.73; ``` diff --git a/docs/models/components/importflowgitnamespaceid.md b/docs/models/components/importflowgitnamespaceid.md index 1a605641..bd84bcd3 100644 --- a/docs/models/components/importflowgitnamespaceid.md +++ b/docs/models/components/importflowgitnamespaceid.md @@ -12,6 +12,6 @@ const value: string = ""; ### `number` ```typescript -const value: number = 1291.56; +const value: number = 1609.10; ``` diff --git a/docs/models/components/importflowgitprovider.md b/docs/models/components/importflowgitprovider.md index 79e4fcba..7385bfa1 100644 --- a/docs/models/components/importflowgitprovider.md +++ b/docs/models/components/importflowgitprovider.md @@ -5,7 +5,7 @@ ```typescript import { ImportFlowGitProvider } from "@vercel/sdk/models/components/authuser.js"; -let value: ImportFlowGitProvider = "github"; +let value: ImportFlowGitProvider = "bitbucket"; ``` ## Values diff --git a/docs/models/components/joinedfrom.md b/docs/models/components/joinedfrom.md index 3d8cbf95..8b194a3f 100644 --- a/docs/models/components/joinedfrom.md +++ b/docs/models/components/joinedfrom.md @@ -6,7 +6,7 @@ import { JoinedFrom } from "@vercel/sdk/models/components/teamlimited.js"; let value: JoinedFrom = { - origin: "github", + origin: "import", }; ``` diff --git a/docs/models/components/membership.md b/docs/models/components/membership.md index dee4f909..21b1dcc4 100644 --- a/docs/models/components/membership.md +++ b/docs/models/components/membership.md @@ -9,10 +9,10 @@ import { Membership } from "@vercel/sdk/models/components/teamlimited.js"; let value: Membership = { confirmed: false, - confirmedAt: 6090.79, + confirmedAt: 3861.38, role: "MEMBER", - createdAt: 7567.66, - created: 789.96, + createdAt: 2107.11, + created: 7711.46, }; ``` diff --git a/docs/models/components/northstarmigration.md b/docs/models/components/northstarmigration.md index 19390f82..31fa65ef 100644 --- a/docs/models/components/northstarmigration.md +++ b/docs/models/components/northstarmigration.md @@ -7,12 +7,12 @@ import { NorthstarMigration } from "@vercel/sdk/models/components/authuser.js"; let value: NorthstarMigration = { teamId: "", - projects: 2326.02, - stores: 4892.25, - integrationConfigurations: 4820.62, - integrationClients: 4531.11, - startTime: 8035.45, - endTime: 4716.93, + projects: 1247.40, + stores: 4617.58, + integrationConfigurations: 4343.45, + integrationClients: 9268.02, + startTime: 1342.05, + endTime: 911.36, }; ``` diff --git a/docs/models/components/reason.md b/docs/models/components/reason.md index 19238802..a14109b0 100644 --- a/docs/models/components/reason.md +++ b/docs/models/components/reason.md @@ -5,7 +5,7 @@ ```typescript import { Reason } from "@vercel/sdk/models/components/authuser.js"; -let value: Reason = "BLOCKED_FOR_PLATFORM_ABUSE"; +let value: Reason = "SUBSCRIPTION_CANCELED"; ``` ## Values diff --git a/docs/models/components/role.md b/docs/models/components/role.md index 1e8ef734..cc68fe08 100644 --- a/docs/models/components/role.md +++ b/docs/models/components/role.md @@ -5,7 +5,7 @@ ```typescript import { Role } from "@vercel/sdk/models/components/teamlimited.js"; -let value: Role = "BILLING"; +let value: Role = "MEMBER"; ``` ## Values diff --git a/docs/models/components/scopes.md b/docs/models/components/scopes.md index abb1957c..6280ce2d 100644 --- a/docs/models/components/scopes.md +++ b/docs/models/components/scopes.md @@ -8,8 +8,8 @@ ```typescript const value: components.Scopes1 = { type: "user", - origin: "github", - createdAt: 1609.10, + origin: "bitbucket", + createdAt: 2383.71, }; ``` @@ -19,8 +19,8 @@ const value: components.Scopes1 = { const value: components.Scopes2 = { type: "team", teamId: "", - origin: "sms", - createdAt: 2870.20, + origin: "email", + createdAt: 2916.49, }; ``` diff --git a/docs/models/components/scopes1.md b/docs/models/components/scopes1.md index ee445d9c..ecad5e3a 100644 --- a/docs/models/components/scopes1.md +++ b/docs/models/components/scopes1.md @@ -9,8 +9,8 @@ import { Scopes1 } from "@vercel/sdk/models/components/authtoken.js"; let value: Scopes1 = { type: "user", - origin: "otp", - createdAt: 6461.81, + origin: "github", + createdAt: 6030.38, }; ``` diff --git a/docs/models/components/scopes2.md b/docs/models/components/scopes2.md index 163773e9..e2466bc2 100644 --- a/docs/models/components/scopes2.md +++ b/docs/models/components/scopes2.md @@ -10,8 +10,8 @@ import { Scopes2 } from "@vercel/sdk/models/components/authtoken.js"; let value: Scopes2 = { type: "team", teamId: "", - origin: "manual", - createdAt: 944.87, + origin: "github", + createdAt: 5938.30, }; ``` diff --git a/docs/models/components/scopesorigin.md b/docs/models/components/scopesorigin.md index c51b8053..5a58932b 100644 --- a/docs/models/components/scopesorigin.md +++ b/docs/models/components/scopesorigin.md @@ -5,7 +5,7 @@ ```typescript import { ScopesOrigin } from "@vercel/sdk/models/components/authtoken.js"; -let value: ScopesOrigin = "gitlab"; +let value: ScopesOrigin = "email"; ``` ## Values diff --git a/docs/models/components/security.md b/docs/models/components/security.md index b85bfb1b..754f6d7b 100644 --- a/docs/models/components/security.md +++ b/docs/models/components/security.md @@ -5,13 +5,11 @@ ```typescript import { Security } from "@vercel/sdk/models/components/security.js"; -let value: Security = { - bearerToken: "", -}; +let value: Security = {}; ``` ## Fields | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `bearerToken` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| `bearerToken` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/components/softblock.md b/docs/models/components/softblock.md index 364971be..044b9683 100644 --- a/docs/models/components/softblock.md +++ b/docs/models/components/softblock.md @@ -8,8 +8,8 @@ When the User account has been "soft blocked", this property will contain the da import { SoftBlock } from "@vercel/sdk/models/components/authuser.js"; let value: SoftBlock = { - blockedAt: 1362.92, - reason: "FAIR_USE_LIMITS_EXCEEDED", + blockedAt: 6598.04, + reason: "SUBSCRIPTION_CANCELED", }; ``` diff --git a/docs/models/components/teamlimited.md b/docs/models/components/teamlimited.md index e798a67f..fedf5214 100644 --- a/docs/models/components/teamlimited.md +++ b/docs/models/components/teamlimited.md @@ -31,10 +31,10 @@ let value: TeamLimited = { avatar: "6eb07268bcfadd309905ffb1579354084c24655c", membership: { confirmed: false, - confirmedAt: 9464.16, - role: "DEVELOPER", - createdAt: 3361.23, - created: 1168.07, + confirmedAt: 3290.16, + role: "OWNER", + createdAt: 5408.95, + created: 1254.88, }, created: "", createdAt: 1630748523395, diff --git a/docs/models/components/viewpreference.md b/docs/models/components/viewpreference.md index 03eae86d..eb88a9d1 100644 --- a/docs/models/components/viewpreference.md +++ b/docs/models/components/viewpreference.md @@ -5,7 +5,7 @@ ```typescript import { ViewPreference } from "@vercel/sdk/models/components/authuser.js"; -let value: ViewPreference = "cards"; +let value: ViewPreference = "list"; ``` ## Values diff --git a/docs/models/operations/acceptedchallenges.md b/docs/models/operations/acceptedchallenges.md index 3a751d5a..b838c6b8 100644 --- a/docs/models/operations/acceptedchallenges.md +++ b/docs/models/operations/acceptedchallenges.md @@ -7,7 +7,7 @@ Which challenge types the domain can use for issuing certs. ```typescript import { AcceptedChallenges } from "@vercel/sdk/models/operations/getdomainconfig.js"; -let value: AcceptedChallenges = "dns-01"; +let value: AcceptedChallenges = "http-01"; ``` ## Values diff --git a/docs/models/operations/access.md b/docs/models/operations/access.md index 23655b26..d3226ba5 100644 --- a/docs/models/operations/access.md +++ b/docs/models/operations/access.md @@ -5,7 +5,7 @@ ```typescript import { Access } from "@vercel/sdk/models/operations/getalias.js"; -let value: Access = "granted"; +let value: Access = "requested"; ``` ## Values diff --git a/docs/models/operations/action.md b/docs/models/operations/action.md index 1dcb6be5..74852dae 100644 --- a/docs/models/operations/action.md +++ b/docs/models/operations/action.md @@ -3,13 +3,13 @@ ## Example Usage ```typescript -import { Action } from "@vercel/sdk/models/operations/putfirewallconfig.js"; +import { Action } from "@vercel/sdk/models/operations/updateinvoice.js"; -let value: Action = "log"; +let value: Action = "refund"; ``` ## Values ```typescript -"deny" | "log" +"refund" ``` \ No newline at end of file diff --git a/docs/models/operations/action1.md b/docs/models/operations/action1.md index 90124832..e6ec4891 100644 --- a/docs/models/operations/action1.md +++ b/docs/models/operations/action1.md @@ -5,7 +5,7 @@ ```typescript import { Action1 } from "@vercel/sdk/models/operations/putfirewallconfig.js"; -let value: Action1 = "deny"; +let value: Action1 = "challenge"; ``` ## Values diff --git a/docs/models/operations/active.md b/docs/models/operations/active.md index 39274012..f0237333 100644 --- a/docs/models/operations/active.md +++ b/docs/models/operations/active.md @@ -9,21 +9,21 @@ let value: Active = { ownerId: "", projectKey: "", id: "", - version: 8429.35, + version: 3396.51, updatedAt: "", firewallEnabled: false, crs: { sd: { active: false, - action: "deny", + action: "log", }, ma: { active: false, - action: "deny", + action: "log", }, lfi: { active: false, - action: "log", + action: "deny", }, rfi: { active: false, @@ -31,7 +31,7 @@ let value: Active = { }, rce: { active: false, - action: "deny", + action: "log", }, php: { active: false, @@ -39,7 +39,7 @@ let value: Active = { }, gen: { active: false, - action: "deny", + action: "log", }, xss: { active: false, @@ -67,8 +67,8 @@ let value: Active = { { conditions: [ { - type: "target_path", - op: "neq", + type: "geo_city", + op: "re", }, ], }, @@ -79,9 +79,9 @@ let value: Active = { ips: [ { id: "", - hostname: "tired-tomatillo.com", - ip: "6cdb:2bdf:cffe:bad0:22a7:ed8b:eecd:1ebb", - action: "deny", + hostname: "innocent-discourse.biz", + ip: "d90f:f40b:eec6:7da2:562a:ee10:67bf:8ffa", + action: "challenge", }, ], changes: [ diff --git a/docs/models/operations/addprojectdomainverification.md b/docs/models/operations/addprojectdomainverification.md index a5936990..d933e78f 100644 --- a/docs/models/operations/addprojectdomainverification.md +++ b/docs/models/operations/addprojectdomainverification.md @@ -9,7 +9,7 @@ import { AddProjectDomainVerification } from "@vercel/sdk/models/operations/addp let value: AddProjectDomainVerification = { type: "", - domain: "slight-depot.name", + domain: "dependent-yeast.com", value: "", reason: "", }; diff --git a/docs/models/operations/aliasassignedat.md b/docs/models/operations/aliasassignedat.md index ff780d3d..2a96092a 100644 --- a/docs/models/operations/aliasassignedat.md +++ b/docs/models/operations/aliasassignedat.md @@ -6,7 +6,7 @@ ### `number` ```typescript -const value: number = 9468.07; +const value: number = 1523.64; ``` ### `boolean` diff --git a/docs/models/operations/backup.md b/docs/models/operations/backup.md index dcfbd86f..658c0964 100644 --- a/docs/models/operations/backup.md +++ b/docs/models/operations/backup.md @@ -9,7 +9,7 @@ let value: Backup = { digest: "", items: {}, slug: "", - updatedAt: 9605.22, + updatedAt: 5283.15, }; ``` diff --git a/docs/models/operations/backups.md b/docs/models/operations/backups.md index 841b86c3..96af0401 100644 --- a/docs/models/operations/backups.md +++ b/docs/models/operations/backups.md @@ -7,7 +7,7 @@ import { Backups } from "@vercel/sdk/models/operations/getedgeconfigbackups.js"; let value: Backups = { id: "", - lastModified: 442.52, + lastModified: 1887.32, }; ``` diff --git a/docs/models/operations/billing.md b/docs/models/operations/billing.md index b208ca77..c9abd28b 100644 --- a/docs/models/operations/billing.md +++ b/docs/models/operations/billing.md @@ -1,16 +1,39 @@ # Billing -IMPORTANT: If extending Billing, particularly with optional fields, make sure you also update `sync-orb-subscription-to-owner.ts` to handle the items when the object is recreated. +Billing data (interim invoicing data). -## Example Usage -```typescript -import { Billing } from "@vercel/sdk/models/operations/createteam.js"; +## Supported Types + +### `operations.Billing1[]` -let value: Billing = {}; +```typescript +const value: operations.Billing1[] = [ + { + billingPlanId: "", + name: "", + price: "666.30", + quantity: 7006.33, + units: "", + total: "", + }, +]; ``` -## Fields +### `operations.Billing2` + +```typescript +const value: operations.Billing2 = { + items: [ + { + billingPlanId: "", + name: "", + price: "841.99", + quantity: 6218.82, + units: "", + total: "", + }, + ], +}; +``` -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/operations/billing1.md b/docs/models/operations/billing1.md new file mode 100644 index 00000000..16c8a8ca --- /dev/null +++ b/docs/models/operations/billing1.md @@ -0,0 +1,31 @@ +# Billing1 + +## Example Usage + +```typescript +import { Billing1 } from "@vercel/sdk/models/operations/submitbillingdata.js"; + +let value: Billing1 = { + billingPlanId: "", + name: "", + price: "788.60", + quantity: 1655.46, + units: "", + total: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `billingPlanId` | *string* | :heavy_check_mark: | Partner's billing plan ID. | +| `resourceId` | *string* | :heavy_minus_sign: | Partner's resource ID. | +| `start` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Start and end are only needed if different from the period's start/end. | +| `end` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Start and end are only needed if different from the period's start/end. | +| `name` | *string* | :heavy_check_mark: | Line item name. | +| `details` | *string* | :heavy_minus_sign: | Line item details. | +| `price` | *string* | :heavy_check_mark: | Price per unit. | +| `quantity` | *number* | :heavy_check_mark: | Quantity of units. | +| `units` | *string* | :heavy_check_mark: | Units of the quantity. | +| `total` | *string* | :heavy_check_mark: | Total amount. | \ No newline at end of file diff --git a/docs/models/operations/billing2.md b/docs/models/operations/billing2.md new file mode 100644 index 00000000..b159db2c --- /dev/null +++ b/docs/models/operations/billing2.md @@ -0,0 +1,27 @@ +# Billing2 + +## Example Usage + +```typescript +import { Billing2 } from "@vercel/sdk/models/operations/submitbillingdata.js"; + +let value: Billing2 = { + items: [ + { + billingPlanId: "", + name: "", + price: "313.38", + quantity: 2075.13, + units: "", + total: "", + }, + ], +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | +| `items` | [operations.BillingItems](../../models/operations/billingitems.md)[] | :heavy_check_mark: | N/A | +| `discounts` | [operations.Discounts](../../models/operations/discounts.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/billingitems.md b/docs/models/operations/billingitems.md new file mode 100644 index 00000000..e9fb4e1b --- /dev/null +++ b/docs/models/operations/billingitems.md @@ -0,0 +1,31 @@ +# BillingItems + +## Example Usage + +```typescript +import { BillingItems } from "@vercel/sdk/models/operations/submitbillingdata.js"; + +let value: BillingItems = { + billingPlanId: "", + name: "", + price: "616.55", + quantity: 3530.75, + units: "", + total: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `billingPlanId` | *string* | :heavy_check_mark: | Partner's billing plan ID. | +| `resourceId` | *string* | :heavy_minus_sign: | Partner's resource ID. | +| `start` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Start and end are only needed if different from the period's start/end. | +| `end` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Start and end are only needed if different from the period's start/end. | +| `name` | *string* | :heavy_check_mark: | Line item name. | +| `details` | *string* | :heavy_minus_sign: | Line item details. | +| `price` | *string* | :heavy_check_mark: | Price per unit. | +| `quantity` | *number* | :heavy_check_mark: | Quantity of units. | +| `units` | *string* | :heavy_check_mark: | Units of the quantity. | +| `total` | *string* | :heavy_check_mark: | Total amount. | \ No newline at end of file diff --git a/docs/models/operations/billingplan.md b/docs/models/operations/billingplan.md index f8705ea7..cf7fd819 100644 --- a/docs/models/operations/billingplan.md +++ b/docs/models/operations/billingplan.md @@ -7,9 +7,9 @@ import { BillingPlan } from "@vercel/sdk/models/operations/getconfigurations.js" let value: BillingPlan = { id: "", - type: "subscription", + type: "prepayment", name: "", - description: "fencing vice yet sushi straw ha nudge er after", + description: "for physical next but vacation separately utter", }; ``` diff --git a/docs/models/operations/buydomaindomain.md b/docs/models/operations/buydomaindomain.md index 77e673e5..55955c95 100644 --- a/docs/models/operations/buydomaindomain.md +++ b/docs/models/operations/buydomaindomain.md @@ -11,7 +11,7 @@ let value: BuyDomainDomain = { "", ], verified: false, - created: 8020.69, + created: 3594.53, pending: false, }; ``` diff --git a/docs/models/operations/buydomaindomainsdomain.md b/docs/models/operations/buydomaindomainsdomain.md index 9ab8ba55..1aea3b27 100644 --- a/docs/models/operations/buydomaindomainsdomain.md +++ b/docs/models/operations/buydomaindomainsdomain.md @@ -11,7 +11,7 @@ let value: BuyDomainDomainsDomain = { "", ], verified: false, - created: 3538.19, + created: 9832.75, pending: false, }; ``` diff --git a/docs/models/operations/buydomaindomainsresponsebody.md b/docs/models/operations/buydomaindomainsresponsebody.md index 5f653703..7a533d17 100644 --- a/docs/models/operations/buydomaindomainsresponsebody.md +++ b/docs/models/operations/buydomaindomainsresponsebody.md @@ -12,7 +12,7 @@ let value: BuyDomainDomainsResponseBody = { "", ], verified: false, - created: 3744.14, + created: 9003.67, pending: false, }, }; diff --git a/docs/models/operations/buydomainresponse.md b/docs/models/operations/buydomainresponse.md index 751fc9c1..427f9220 100644 --- a/docs/models/operations/buydomainresponse.md +++ b/docs/models/operations/buydomainresponse.md @@ -13,7 +13,7 @@ const value: operations.BuyDomainResponseBody = { "", ], verified: false, - created: 6578.62, + created: 1936.23, pending: false, }, }; @@ -29,7 +29,7 @@ const value: operations.BuyDomainDomainsResponseBody = { "", ], verified: false, - created: 3594.53, + created: 1122.50, pending: false, }, }; diff --git a/docs/models/operations/buydomainresponsebody.md b/docs/models/operations/buydomainresponsebody.md index 16ddde3f..197296af 100644 --- a/docs/models/operations/buydomainresponsebody.md +++ b/docs/models/operations/buydomainresponsebody.md @@ -12,7 +12,7 @@ let value: BuyDomainResponseBody = { "", ], verified: false, - created: 3782.68, + created: 304.27, pending: false, }, }; diff --git a/docs/models/operations/canceldeploymentaliasassignedat.md b/docs/models/operations/canceldeploymentaliasassignedat.md index 9f0c6d4d..122dc1b1 100644 --- a/docs/models/operations/canceldeploymentaliasassignedat.md +++ b/docs/models/operations/canceldeploymentaliasassignedat.md @@ -6,7 +6,7 @@ ### `number` ```typescript -const value: number = 6455.44; +const value: number = 3180.29; ``` ### `boolean` diff --git a/docs/models/operations/canceldeploymentchecksconclusion.md b/docs/models/operations/canceldeploymentchecksconclusion.md index 2306d07e..c6221945 100644 --- a/docs/models/operations/canceldeploymentchecksconclusion.md +++ b/docs/models/operations/canceldeploymentchecksconclusion.md @@ -5,7 +5,7 @@ ```typescript import { CancelDeploymentChecksConclusion } from "@vercel/sdk/models/operations/canceldeployment.js"; -let value: CancelDeploymentChecksConclusion = "failed"; +let value: CancelDeploymentChecksConclusion = "skipped"; ``` ## Values diff --git a/docs/models/operations/canceldeploymentcrons.md b/docs/models/operations/canceldeploymentcrons.md index b79f3957..83b22cc3 100644 --- a/docs/models/operations/canceldeploymentcrons.md +++ b/docs/models/operations/canceldeploymentcrons.md @@ -7,7 +7,7 @@ import { CancelDeploymentCrons } from "@vercel/sdk/models/operations/canceldeplo let value: CancelDeploymentCrons = { schedule: "", - path: "/etc/defaults", + path: "/usr/libdata", }; ``` diff --git a/docs/models/operations/canceldeploymentdeploymentsreadystate.md b/docs/models/operations/canceldeploymentdeploymentsreadystate.md index 30766345..10ed694c 100644 --- a/docs/models/operations/canceldeploymentdeploymentsreadystate.md +++ b/docs/models/operations/canceldeploymentdeploymentsreadystate.md @@ -5,7 +5,7 @@ ```typescript import { CancelDeploymentDeploymentsReadyState } from "@vercel/sdk/models/operations/canceldeployment.js"; -let value: CancelDeploymentDeploymentsReadyState = "INITIALIZING"; +let value: CancelDeploymentDeploymentsReadyState = "READY"; ``` ## Values diff --git a/docs/models/operations/canceldeploymentdeploymentsstatus.md b/docs/models/operations/canceldeploymentdeploymentsstatus.md index 7228c628..6b923f9c 100644 --- a/docs/models/operations/canceldeploymentdeploymentsstatus.md +++ b/docs/models/operations/canceldeploymentdeploymentsstatus.md @@ -5,7 +5,7 @@ ```typescript import { CancelDeploymentDeploymentsStatus } from "@vercel/sdk/models/operations/canceldeployment.js"; -let value: CancelDeploymentDeploymentsStatus = "pending"; +let value: CancelDeploymentDeploymentsStatus = "timeout"; ``` ## Values diff --git a/docs/models/operations/canceldeploymentframework.md b/docs/models/operations/canceldeploymentframework.md index 3422fd59..eeaa7b7b 100644 --- a/docs/models/operations/canceldeploymentframework.md +++ b/docs/models/operations/canceldeploymentframework.md @@ -5,7 +5,7 @@ ```typescript import { CancelDeploymentFramework } from "@vercel/sdk/models/operations/canceldeployment.js"; -let value: CancelDeploymentFramework = "scully"; +let value: CancelDeploymentFramework = "sanity"; ``` ## Values diff --git a/docs/models/operations/canceldeploymentgitrepo.md b/docs/models/operations/canceldeploymentgitrepo.md index 52499ec4..e2b645ff 100644 --- a/docs/models/operations/canceldeploymentgitrepo.md +++ b/docs/models/operations/canceldeploymentgitrepo.md @@ -8,10 +8,10 @@ ```typescript const value: operations.CancelDeploymentGitRepo1 = { namespace: "", - projectId: 8356.46, + projectId: 6075.45, type: "gitlab", - url: "https://unconscious-tomb.biz/", - path: "/sys", + url: "https://mysterious-tuber.biz", + path: "/var/yp", defaultBranch: "", name: "", private: false, @@ -25,10 +25,10 @@ const value: operations.CancelDeploymentGitRepo1 = { const value: operations.CancelDeploymentGitRepo2 = { org: "", repo: "", - repoId: 5379.46, + repoId: 4587.23, type: "github", - repoOwnerId: 9376.63, - path: "/mnt", + repoOwnerId: 8174.53, + path: "/usr/libexec", defaultBranch: "", name: "", private: false, @@ -45,7 +45,7 @@ const value: operations.CancelDeploymentGitRepo3 = { slug: "", type: "bitbucket", workspaceUuid: "", - path: "/var", + path: "/net", defaultBranch: "", name: "", private: false, diff --git a/docs/models/operations/canceldeploymentgitrepo1.md b/docs/models/operations/canceldeploymentgitrepo1.md index d4a6ed07..8eea1e2d 100644 --- a/docs/models/operations/canceldeploymentgitrepo1.md +++ b/docs/models/operations/canceldeploymentgitrepo1.md @@ -7,14 +7,14 @@ import { CancelDeploymentGitRepo1 } from "@vercel/sdk/models/operations/cancelde let value: CancelDeploymentGitRepo1 = { namespace: "", - projectId: 7044.02, + projectId: 6152.76, type: "gitlab", - url: "https://careless-thigh.net/", - path: "/sys", + url: "https://tangible-jazz.org", + path: "/var", defaultBranch: "", name: "", private: false, - ownerType: "user", + ownerType: "team", }; ``` diff --git a/docs/models/operations/canceldeploymentgitrepo2.md b/docs/models/operations/canceldeploymentgitrepo2.md index 4913f3e5..8a2aa7ce 100644 --- a/docs/models/operations/canceldeploymentgitrepo2.md +++ b/docs/models/operations/canceldeploymentgitrepo2.md @@ -8,14 +8,14 @@ import { CancelDeploymentGitRepo2 } from "@vercel/sdk/models/operations/cancelde let value: CancelDeploymentGitRepo2 = { org: "", repo: "", - repoId: 8847.65, + repoId: 7044.02, type: "github", - repoOwnerId: 7019.78, - path: "/private/var", + repoOwnerId: 2848.86, + path: "/etc/defaults", defaultBranch: "", name: "", private: false, - ownerType: "team", + ownerType: "user", }; ``` diff --git a/docs/models/operations/canceldeploymentgitrepo3.md b/docs/models/operations/canceldeploymentgitrepo3.md index 616c07da..48e0a692 100644 --- a/docs/models/operations/canceldeploymentgitrepo3.md +++ b/docs/models/operations/canceldeploymentgitrepo3.md @@ -11,7 +11,7 @@ let value: CancelDeploymentGitRepo3 = { slug: "", type: "bitbucket", workspaceUuid: "", - path: "/Users", + path: "/private/var", defaultBranch: "", name: "", private: false, diff --git a/docs/models/operations/canceldeploymentgitrepodeploymentsownertype.md b/docs/models/operations/canceldeploymentgitrepodeploymentsownertype.md index 5e0eb54c..1f9cfd6b 100644 --- a/docs/models/operations/canceldeploymentgitrepodeploymentsownertype.md +++ b/docs/models/operations/canceldeploymentgitrepodeploymentsownertype.md @@ -5,7 +5,7 @@ ```typescript import { CancelDeploymentGitRepoDeploymentsOwnerType } from "@vercel/sdk/models/operations/canceldeployment.js"; -let value: CancelDeploymentGitRepoDeploymentsOwnerType = "user"; +let value: CancelDeploymentGitRepoDeploymentsOwnerType = "team"; ``` ## Values diff --git a/docs/models/operations/canceldeploymentgitrepodeploymentsresponseownertype.md b/docs/models/operations/canceldeploymentgitrepodeploymentsresponseownertype.md index 56f6326e..4c3dc9c0 100644 --- a/docs/models/operations/canceldeploymentgitrepodeploymentsresponseownertype.md +++ b/docs/models/operations/canceldeploymentgitrepodeploymentsresponseownertype.md @@ -5,7 +5,7 @@ ```typescript import { CancelDeploymentGitRepoDeploymentsResponseOwnerType } from "@vercel/sdk/models/operations/canceldeployment.js"; -let value: CancelDeploymentGitRepoDeploymentsResponseOwnerType = "team"; +let value: CancelDeploymentGitRepoDeploymentsResponseOwnerType = "user"; ``` ## Values diff --git a/docs/models/operations/canceldeploymentgitrepoownertype.md b/docs/models/operations/canceldeploymentgitrepoownertype.md index e38c6c74..788d2d37 100644 --- a/docs/models/operations/canceldeploymentgitrepoownertype.md +++ b/docs/models/operations/canceldeploymentgitrepoownertype.md @@ -5,7 +5,7 @@ ```typescript import { CancelDeploymentGitRepoOwnerType } from "@vercel/sdk/models/operations/canceldeployment.js"; -let value: CancelDeploymentGitRepoOwnerType = "team"; +let value: CancelDeploymentGitRepoOwnerType = "user"; ``` ## Values diff --git a/docs/models/operations/canceldeploymentgitsource.md b/docs/models/operations/canceldeploymentgitsource.md index 796c972e..7ba5af10 100644 --- a/docs/models/operations/canceldeploymentgitsource.md +++ b/docs/models/operations/canceldeploymentgitsource.md @@ -8,7 +8,7 @@ ```typescript const value: operations.CancelDeploymentGitSource1 = { type: "github", - repoId: 5371.70, + repoId: "", }; ``` @@ -57,7 +57,7 @@ const value: operations.GitSource6 = { type: "custom", ref: "", sha: "", - gitUrl: "https://prudent-cash.biz", + gitUrl: "https://complete-corporation.net/", }; ``` @@ -68,7 +68,7 @@ const value: operations.GitSource7 = { type: "github", ref: "", sha: "", - repoId: 600.78, + repoId: 495.00, }; ``` @@ -79,7 +79,7 @@ const value: operations.GitSource8 = { type: "gitlab", ref: "", sha: "", - projectId: 2098.60, + projectId: 1018.55, }; ``` diff --git a/docs/models/operations/canceldeploymentgitsource1.md b/docs/models/operations/canceldeploymentgitsource1.md index 0df4b95e..1c768a83 100644 --- a/docs/models/operations/canceldeploymentgitsource1.md +++ b/docs/models/operations/canceldeploymentgitsource1.md @@ -7,7 +7,7 @@ import { CancelDeploymentGitSource1 } from "@vercel/sdk/models/operations/cancel let value: CancelDeploymentGitSource1 = { type: "github", - repoId: "", + repoId: 1220.86, }; ``` diff --git a/docs/models/operations/canceldeploymentgitsource3.md b/docs/models/operations/canceldeploymentgitsource3.md index fd486b5e..44c0dc4b 100644 --- a/docs/models/operations/canceldeploymentgitsource3.md +++ b/docs/models/operations/canceldeploymentgitsource3.md @@ -7,7 +7,7 @@ import { CancelDeploymentGitSource3 } from "@vercel/sdk/models/operations/cancel let value: CancelDeploymentGitSource3 = { type: "gitlab", - projectId: 9121.51, + projectId: "", }; ``` diff --git a/docs/models/operations/canceldeploymentgitsourceprojectid.md b/docs/models/operations/canceldeploymentgitsourceprojectid.md index fe43f8db..1c464348 100644 --- a/docs/models/operations/canceldeploymentgitsourceprojectid.md +++ b/docs/models/operations/canceldeploymentgitsourceprojectid.md @@ -12,6 +12,6 @@ const value: string = ""; ### `number` ```typescript -const value: number = 4871.48; +const value: number = 5371.70; ``` diff --git a/docs/models/operations/canceldeploymentgitsourcerepoid.md b/docs/models/operations/canceldeploymentgitsourcerepoid.md index f54d0995..7b82c48f 100644 --- a/docs/models/operations/canceldeploymentgitsourcerepoid.md +++ b/docs/models/operations/canceldeploymentgitsourcerepoid.md @@ -12,6 +12,6 @@ const value: string = ""; ### `number` ```typescript -const value: number = 1183.49; +const value: number = 6736.53; ``` diff --git a/docs/models/operations/canceldeploymenthas2.md b/docs/models/operations/canceldeploymenthas2.md index 44642b89..177042cb 100644 --- a/docs/models/operations/canceldeploymenthas2.md +++ b/docs/models/operations/canceldeploymenthas2.md @@ -6,7 +6,7 @@ import { CancelDeploymentHas2 } from "@vercel/sdk/models/operations/canceldeployment.js"; let value: CancelDeploymentHas2 = { - type: "query", + type: "cookie", key: "", }; ``` diff --git a/docs/models/operations/canceldeploymenthasdeploymentstype.md b/docs/models/operations/canceldeploymenthasdeploymentstype.md index f252ebda..26b7b177 100644 --- a/docs/models/operations/canceldeploymenthasdeploymentstype.md +++ b/docs/models/operations/canceldeploymenthasdeploymentstype.md @@ -5,7 +5,7 @@ ```typescript import { CancelDeploymentHasDeploymentsType } from "@vercel/sdk/models/operations/canceldeployment.js"; -let value: CancelDeploymentHasDeploymentsType = "query"; +let value: CancelDeploymentHasDeploymentsType = "header"; ``` ## Values diff --git a/docs/models/operations/canceldeploymentintegrations.md b/docs/models/operations/canceldeploymentintegrations.md index 670f9df5..6e6359bc 100644 --- a/docs/models/operations/canceldeploymentintegrations.md +++ b/docs/models/operations/canceldeploymentintegrations.md @@ -6,8 +6,8 @@ import { CancelDeploymentIntegrations } from "@vercel/sdk/models/operations/canceldeployment.js"; let value: CancelDeploymentIntegrations = { - status: "ready", - startedAt: 1681.42, + status: "skipped", + startedAt: 6174.97, }; ``` diff --git a/docs/models/operations/canceldeploymentlambdas.md b/docs/models/operations/canceldeploymentlambdas.md index e33e0cd5..3ea3e1da 100644 --- a/docs/models/operations/canceldeploymentlambdas.md +++ b/docs/models/operations/canceldeploymentlambdas.md @@ -10,7 +10,7 @@ import { CancelDeploymentLambdas } from "@vercel/sdk/models/operations/canceldep let value: CancelDeploymentLambdas = { output: [ { - path: "/var/spool", + path: "/usr/libdata", functionName: "", }, ], diff --git a/docs/models/operations/canceldeploymentmissingdeploymentstype.md b/docs/models/operations/canceldeploymentmissingdeploymentstype.md index ff085be4..13ab5a3a 100644 --- a/docs/models/operations/canceldeploymentmissingdeploymentstype.md +++ b/docs/models/operations/canceldeploymentmissingdeploymentstype.md @@ -5,7 +5,7 @@ ```typescript import { CancelDeploymentMissingDeploymentsType } from "@vercel/sdk/models/operations/canceldeployment.js"; -let value: CancelDeploymentMissingDeploymentsType = "query"; +let value: CancelDeploymentMissingDeploymentsType = "cookie"; ``` ## Values diff --git a/docs/models/operations/canceldeploymentoutput.md b/docs/models/operations/canceldeploymentoutput.md index 15f4ce00..82483783 100644 --- a/docs/models/operations/canceldeploymentoutput.md +++ b/docs/models/operations/canceldeploymentoutput.md @@ -6,7 +6,7 @@ import { CancelDeploymentOutput } from "@vercel/sdk/models/operations/canceldeployment.js"; let value: CancelDeploymentOutput = { - path: "/net", + path: "/usr/src", functionName: "", }; ``` diff --git a/docs/models/operations/canceldeploymentplan.md b/docs/models/operations/canceldeploymentplan.md index 85041bae..d1ca7235 100644 --- a/docs/models/operations/canceldeploymentplan.md +++ b/docs/models/operations/canceldeploymentplan.md @@ -5,7 +5,7 @@ ```typescript import { CancelDeploymentPlan } from "@vercel/sdk/models/operations/canceldeployment.js"; -let value: CancelDeploymentPlan = "pro"; +let value: CancelDeploymentPlan = "hobby"; ``` ## Values diff --git a/docs/models/operations/canceldeploymentresponsebody.md b/docs/models/operations/canceldeploymentresponsebody.md index d343af43..a97db7b1 100644 --- a/docs/models/operations/canceldeploymentresponsebody.md +++ b/docs/models/operations/canceldeploymentresponsebody.md @@ -16,32 +16,32 @@ let value: CancelDeploymentResponseBody = { env: [ "", ], - inspectorUrl: "https://remarkable-fat.biz", + inspectorUrl: "https://aggressive-pantyhose.info", isInConcurrentBuildsQueue: false, isInSystemBuildsQueue: false, projectSettings: {}, aliasAssigned: false, - bootedAt: 6715.28, - buildingAt: 8429.73, + bootedAt: 8980.88, + buildingAt: 3214.73, buildSkipped: false, creator: { uid: "", }, public: false, - status: "BUILDING", + status: "INITIALIZING", id: "", - createdAt: 6428.03, + createdAt: 5147.67, name: "", meta: { "key": "", }, - readyState: "INITIALIZING", + readyState: "BUILDING", regions: [ "", ], type: "LAMBDAS", - url: "https://gloomy-intent.name", - version: 1404.40, + url: "https://sweet-backbone.biz", + version: 380.45, createdIn: "", ownerId: "", plan: "hobby", @@ -50,7 +50,7 @@ let value: CancelDeploymentResponseBody = { { src: "", continue: false, - middleware: 579.09, + middleware: 9642.00, }, ], }; diff --git a/docs/models/operations/canceldeploymentroutes.md b/docs/models/operations/canceldeploymentroutes.md index 1d3437bc..46b9b1bc 100644 --- a/docs/models/operations/canceldeploymentroutes.md +++ b/docs/models/operations/canceldeploymentroutes.md @@ -15,7 +15,7 @@ const value: operations.CancelDeploymentRoutes1 = { ```typescript const value: operations.CancelDeploymentRoutes2 = { - handle: "hit", + handle: "resource", }; ``` @@ -25,7 +25,7 @@ const value: operations.CancelDeploymentRoutes2 = { const value: operations.CancelDeploymentRoutes3 = { src: "", continue: false, - middleware: 2961.28, + middleware: 8847.65, }; ``` diff --git a/docs/models/operations/canceldeploymentroutes2.md b/docs/models/operations/canceldeploymentroutes2.md index 6fe01443..cdb03eeb 100644 --- a/docs/models/operations/canceldeploymentroutes2.md +++ b/docs/models/operations/canceldeploymentroutes2.md @@ -6,7 +6,7 @@ import { CancelDeploymentRoutes2 } from "@vercel/sdk/models/operations/canceldeployment.js"; let value: CancelDeploymentRoutes2 = { - handle: "filesystem", + handle: "hit", }; ``` diff --git a/docs/models/operations/canceldeploymentroutes3.md b/docs/models/operations/canceldeploymentroutes3.md index 840d744c..ab93f1e0 100644 --- a/docs/models/operations/canceldeploymentroutes3.md +++ b/docs/models/operations/canceldeploymentroutes3.md @@ -8,7 +8,7 @@ import { CancelDeploymentRoutes3 } from "@vercel/sdk/models/operations/canceldep let value: CancelDeploymentRoutes3 = { src: "", continue: false, - middleware: 3165.41, + middleware: 5339.78, }; ``` diff --git a/docs/models/operations/canceldeploymentrouteshandle.md b/docs/models/operations/canceldeploymentrouteshandle.md index 55dc4dcc..6c85e4b3 100644 --- a/docs/models/operations/canceldeploymentrouteshandle.md +++ b/docs/models/operations/canceldeploymentrouteshandle.md @@ -5,7 +5,7 @@ ```typescript import { CancelDeploymentRoutesHandle } from "@vercel/sdk/models/operations/canceldeployment.js"; -let value: CancelDeploymentRoutesHandle = "filesystem"; +let value: CancelDeploymentRoutesHandle = "resource"; ``` ## Values diff --git a/docs/models/operations/canceldeploymentrouteshas.md b/docs/models/operations/canceldeploymentrouteshas.md index cc27085c..c9916855 100644 --- a/docs/models/operations/canceldeploymentrouteshas.md +++ b/docs/models/operations/canceldeploymentrouteshas.md @@ -16,7 +16,7 @@ const value: operations.CancelDeploymentHas1 = { ```typescript const value: operations.CancelDeploymentHas2 = { - type: "cookie", + type: "header", key: "", }; ``` diff --git a/docs/models/operations/canceldeploymentroutesmissing.md b/docs/models/operations/canceldeploymentroutesmissing.md index cc03dc87..89fe1d17 100644 --- a/docs/models/operations/canceldeploymentroutesmissing.md +++ b/docs/models/operations/canceldeploymentroutesmissing.md @@ -16,7 +16,7 @@ const value: operations.CancelDeploymentMissing1 = { ```typescript const value: operations.CancelDeploymentMissing2 = { - type: "header", + type: "cookie", key: "", }; ``` diff --git a/docs/models/operations/canceldeploymentsource.md b/docs/models/operations/canceldeploymentsource.md index 641b0570..0004a0cb 100644 --- a/docs/models/operations/canceldeploymentsource.md +++ b/docs/models/operations/canceldeploymentsource.md @@ -5,7 +5,7 @@ ```typescript import { CancelDeploymentSource } from "@vercel/sdk/models/operations/canceldeployment.js"; -let value: CancelDeploymentSource = "import/repo"; +let value: CancelDeploymentSource = "clone/repo"; ``` ## Values diff --git a/docs/models/operations/canceldeploymentstatus.md b/docs/models/operations/canceldeploymentstatus.md index 821a9bea..4de9cb93 100644 --- a/docs/models/operations/canceldeploymentstatus.md +++ b/docs/models/operations/canceldeploymentstatus.md @@ -5,7 +5,7 @@ ```typescript import { CancelDeploymentStatus } from "@vercel/sdk/models/operations/canceldeployment.js"; -let value: CancelDeploymentStatus = "CANCELED"; +let value: CancelDeploymentStatus = "ERROR"; ``` ## Values diff --git a/docs/models/operations/checksconclusion.md b/docs/models/operations/checksconclusion.md index 10cfc422..72f29ac1 100644 --- a/docs/models/operations/checksconclusion.md +++ b/docs/models/operations/checksconclusion.md @@ -5,7 +5,7 @@ ```typescript import { ChecksConclusion } from "@vercel/sdk/models/operations/createdeployment.js"; -let value: ChecksConclusion = "failed"; +let value: ChecksConclusion = "skipped"; ``` ## Values diff --git a/docs/models/operations/conditiongroup.md b/docs/models/operations/conditiongroup.md index 717ace21..79f39cbb 100644 --- a/docs/models/operations/conditiongroup.md +++ b/docs/models/operations/conditiongroup.md @@ -8,8 +8,8 @@ import { ConditionGroup } from "@vercel/sdk/models/operations/putfirewallconfig. let value: ConditionGroup = { conditions: [ { - type: "method", - op: "gte", + type: "region", + op: "ex", }, ], }; diff --git a/docs/models/operations/conditions.md b/docs/models/operations/conditions.md index 8904e282..88feb27c 100644 --- a/docs/models/operations/conditions.md +++ b/docs/models/operations/conditions.md @@ -6,8 +6,8 @@ import { Conditions } from "@vercel/sdk/models/operations/putfirewallconfig.js"; let value: Conditions = { - type: "geo_as_number", - op: "ninc", + type: "geo_country", + op: "inc", }; ``` diff --git a/docs/models/operations/configuredby.md b/docs/models/operations/configuredby.md index a015a765..3ac65e00 100644 --- a/docs/models/operations/configuredby.md +++ b/docs/models/operations/configuredby.md @@ -7,7 +7,7 @@ How we see the domain's configuration. - `CNAME`: Domain has a CNAME pointing to ```typescript import { ConfiguredBy } from "@vercel/sdk/models/operations/getdomainconfig.js"; -let value: ConfiguredBy = "CNAME"; +let value: ConfiguredBy = "A"; ``` ## Values diff --git a/docs/models/operations/contact.md b/docs/models/operations/contact.md new file mode 100644 index 00000000..e1e1659d --- /dev/null +++ b/docs/models/operations/contact.md @@ -0,0 +1,18 @@ +# Contact + +## Example Usage + +```typescript +import { Contact } from "@vercel/sdk/models/operations/getaccountinfo.js"; + +let value: Contact = { + email: "Celine.Brekke42@gmail.com", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `email` | *string* | :heavy_check_mark: | N/A | +| `name` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createconfigurablelogdraindisabledreason.md b/docs/models/operations/createconfigurablelogdraindisabledreason.md index 33a734bc..7e969662 100644 --- a/docs/models/operations/createconfigurablelogdraindisabledreason.md +++ b/docs/models/operations/createconfigurablelogdraindisabledreason.md @@ -5,7 +5,7 @@ ```typescript import { CreateConfigurableLogDrainDisabledReason } from "@vercel/sdk/models/operations/createconfigurablelogdrain.js"; -let value: CreateConfigurableLogDrainDisabledReason = "feature-not-available"; +let value: CreateConfigurableLogDrainDisabledReason = "disabled-by-owner"; ``` ## Values diff --git a/docs/models/operations/createconfigurablelogdrainenvironments.md b/docs/models/operations/createconfigurablelogdrainenvironments.md index 1a1872b0..2d9719d6 100644 --- a/docs/models/operations/createconfigurablelogdrainenvironments.md +++ b/docs/models/operations/createconfigurablelogdrainenvironments.md @@ -5,7 +5,7 @@ ```typescript import { CreateConfigurableLogDrainEnvironments } from "@vercel/sdk/models/operations/createconfigurablelogdrain.js"; -let value: CreateConfigurableLogDrainEnvironments = "preview"; +let value: CreateConfigurableLogDrainEnvironments = "production"; ``` ## Values diff --git a/docs/models/operations/createconfigurablelogdrainlogdrainsdeliveryformat.md b/docs/models/operations/createconfigurablelogdrainlogdrainsdeliveryformat.md index 2cf198bf..e558922a 100644 --- a/docs/models/operations/createconfigurablelogdrainlogdrainsdeliveryformat.md +++ b/docs/models/operations/createconfigurablelogdrainlogdrainsdeliveryformat.md @@ -5,7 +5,7 @@ ```typescript import { CreateConfigurableLogDrainLogDrainsDeliveryFormat } from "@vercel/sdk/models/operations/createconfigurablelogdrain.js"; -let value: CreateConfigurableLogDrainLogDrainsDeliveryFormat = "syslog"; +let value: CreateConfigurableLogDrainLogDrainsDeliveryFormat = "json"; ``` ## Values diff --git a/docs/models/operations/createconfigurablelogdrainlogdrainsenvironments.md b/docs/models/operations/createconfigurablelogdrainlogdrainsenvironments.md index 45a35d95..4099a6c9 100644 --- a/docs/models/operations/createconfigurablelogdrainlogdrainsenvironments.md +++ b/docs/models/operations/createconfigurablelogdrainlogdrainsenvironments.md @@ -5,7 +5,7 @@ ```typescript import { CreateConfigurableLogDrainLogDrainsEnvironments } from "@vercel/sdk/models/operations/createconfigurablelogdrain.js"; -let value: CreateConfigurableLogDrainLogDrainsEnvironments = "preview"; +let value: CreateConfigurableLogDrainLogDrainsEnvironments = "production"; ``` ## Values diff --git a/docs/models/operations/createconfigurablelogdrainlogdrainssources.md b/docs/models/operations/createconfigurablelogdrainlogdrainssources.md index 902a21ae..c20faaf6 100644 --- a/docs/models/operations/createconfigurablelogdrainlogdrainssources.md +++ b/docs/models/operations/createconfigurablelogdrainlogdrainssources.md @@ -5,7 +5,7 @@ ```typescript import { CreateConfigurableLogDrainLogDrainsSources } from "@vercel/sdk/models/operations/createconfigurablelogdrain.js"; -let value: CreateConfigurableLogDrainLogDrainsSources = "lambda"; +let value: CreateConfigurableLogDrainLogDrainsSources = "external"; ``` ## Values diff --git a/docs/models/operations/createconfigurablelogdrainrequest.md b/docs/models/operations/createconfigurablelogdrainrequest.md index ec33ec2f..dd5e67ab 100644 --- a/docs/models/operations/createconfigurablelogdrainrequest.md +++ b/docs/models/operations/createconfigurablelogdrainrequest.md @@ -8,9 +8,9 @@ import { CreateConfigurableLogDrainRequest } from "@vercel/sdk/models/operations let value: CreateConfigurableLogDrainRequest = { requestBody: { deliveryFormat: "json", - url: "https://sparkling-shark.net/", + url: "https://sentimental-descent.org/", sources: [ - "edge", + "external", ], }, }; diff --git a/docs/models/operations/createconfigurablelogdrainrequestbody.md b/docs/models/operations/createconfigurablelogdrainrequestbody.md index 0549898a..b5079c58 100644 --- a/docs/models/operations/createconfigurablelogdrainrequestbody.md +++ b/docs/models/operations/createconfigurablelogdrainrequestbody.md @@ -7,7 +7,7 @@ import { CreateConfigurableLogDrainRequestBody } from "@vercel/sdk/models/operat let value: CreateConfigurableLogDrainRequestBody = { deliveryFormat: "json", - url: "https://hungry-midwife.org", + url: "https://wonderful-gripper.name", sources: [ "static", ], diff --git a/docs/models/operations/createconfigurablelogdrainresponsebody.md b/docs/models/operations/createconfigurablelogdrainresponsebody.md index 8354843d..17b26d0d 100644 --- a/docs/models/operations/createconfigurablelogdrainresponsebody.md +++ b/docs/models/operations/createconfigurablelogdrainresponsebody.md @@ -8,12 +8,12 @@ import { CreateConfigurableLogDrainResponseBody } from "@vercel/sdk/models/opera let value: CreateConfigurableLogDrainResponseBody = { id: "", deliveryFormat: "syslog", - url: "https://wavy-pocket-watch.biz/", + url: "https://small-cd.biz/", name: "", ownerId: "", - createdAt: 7689.99, - deletedAt: 831.65, - updatedAt: 9747.74, + createdAt: 7491.01, + deletedAt: 5323.36, + updatedAt: 1149.52, environments: [ "production", ], diff --git a/docs/models/operations/createconfigurablelogdrainsources.md b/docs/models/operations/createconfigurablelogdrainsources.md index 2d6c60f2..331e214d 100644 --- a/docs/models/operations/createconfigurablelogdrainsources.md +++ b/docs/models/operations/createconfigurablelogdrainsources.md @@ -5,7 +5,7 @@ ```typescript import { CreateConfigurableLogDrainSources } from "@vercel/sdk/models/operations/createconfigurablelogdrain.js"; -let value: CreateConfigurableLogDrainSources = "lambda"; +let value: CreateConfigurableLogDrainSources = "external"; ``` ## Values diff --git a/docs/models/operations/createconfigurablelogdrainstatus.md b/docs/models/operations/createconfigurablelogdrainstatus.md index 2c1e505f..ce77983e 100644 --- a/docs/models/operations/createconfigurablelogdrainstatus.md +++ b/docs/models/operations/createconfigurablelogdrainstatus.md @@ -5,7 +5,7 @@ ```typescript import { CreateConfigurableLogDrainStatus } from "@vercel/sdk/models/operations/createconfigurablelogdrain.js"; -let value: CreateConfigurableLogDrainStatus = "enabled"; +let value: CreateConfigurableLogDrainStatus = "errored"; ``` ## Values diff --git a/docs/models/operations/createdeploymentcrons.md b/docs/models/operations/createdeploymentcrons.md index 1703dadd..1aeeacf0 100644 --- a/docs/models/operations/createdeploymentcrons.md +++ b/docs/models/operations/createdeploymentcrons.md @@ -7,7 +7,7 @@ import { CreateDeploymentCrons } from "@vercel/sdk/models/operations/createdeplo let value: CreateDeploymentCrons = { schedule: "", - path: "/usr/libexec", + path: "/usr/X11R6", }; ``` diff --git a/docs/models/operations/createdeploymentdeploymentsstatus.md b/docs/models/operations/createdeploymentdeploymentsstatus.md index f365990b..ccd6ffec 100644 --- a/docs/models/operations/createdeploymentdeploymentsstatus.md +++ b/docs/models/operations/createdeploymentdeploymentsstatus.md @@ -5,7 +5,7 @@ ```typescript import { CreateDeploymentDeploymentsStatus } from "@vercel/sdk/models/operations/createdeployment.js"; -let value: CreateDeploymentDeploymentsStatus = "skipped"; +let value: CreateDeploymentDeploymentsStatus = "error"; ``` ## Values diff --git a/docs/models/operations/createdeploymentframework.md b/docs/models/operations/createdeploymentframework.md index 06b6f69e..f4e7678a 100644 --- a/docs/models/operations/createdeploymentframework.md +++ b/docs/models/operations/createdeploymentframework.md @@ -5,7 +5,7 @@ ```typescript import { CreateDeploymentFramework } from "@vercel/sdk/models/operations/createdeployment.js"; -let value: CreateDeploymentFramework = "vitepress"; +let value: CreateDeploymentFramework = "storybook"; ``` ## Values diff --git a/docs/models/operations/createdeploymentgitsource.md b/docs/models/operations/createdeploymentgitsource.md index ccf2112c..ecba99d8 100644 --- a/docs/models/operations/createdeploymentgitsource.md +++ b/docs/models/operations/createdeploymentgitsource.md @@ -8,7 +8,7 @@ ```typescript const value: operations.GitSource1 = { type: "github", - repoId: "", + repoId: 7747.48, }; ``` @@ -27,7 +27,7 @@ const value: operations.GitSource2 = { ```typescript const value: operations.GitSource3 = { type: "gitlab", - projectId: "", + projectId: 6147.70, }; ``` @@ -57,7 +57,7 @@ const value: operations.CreateDeploymentGitSource6 = { type: "custom", ref: "", sha: "", - gitUrl: "https://sunny-premier.org/", + gitUrl: "https://aged-flint.net/", }; ``` @@ -68,7 +68,7 @@ const value: operations.CreateDeploymentGitSource7 = { type: "github", ref: "", sha: "", - repoId: 9665.75, + repoId: 8661.35, }; ``` @@ -79,7 +79,7 @@ const value: operations.CreateDeploymentGitSource8 = { type: "gitlab", ref: "", sha: "", - projectId: 7747.48, + projectId: 9608.13, }; ``` diff --git a/docs/models/operations/createdeploymentgitsource6.md b/docs/models/operations/createdeploymentgitsource6.md index 48db7133..d76d44b5 100644 --- a/docs/models/operations/createdeploymentgitsource6.md +++ b/docs/models/operations/createdeploymentgitsource6.md @@ -11,7 +11,7 @@ let value: CreateDeploymentGitSource6 = { type: "custom", ref: "", sha: "", - gitUrl: "https://stale-planula.org/", + gitUrl: "https://soggy-prohibition.com", }; ``` diff --git a/docs/models/operations/createdeploymentgitsource7.md b/docs/models/operations/createdeploymentgitsource7.md index 9f2acd11..0d4e86f4 100644 --- a/docs/models/operations/createdeploymentgitsource7.md +++ b/docs/models/operations/createdeploymentgitsource7.md @@ -9,7 +9,7 @@ let value: CreateDeploymentGitSource7 = { type: "github", ref: "", sha: "", - repoId: 2942.66, + repoId: 978.10, }; ``` diff --git a/docs/models/operations/createdeploymentgitsource8.md b/docs/models/operations/createdeploymentgitsource8.md index e2ce20fe..6a65bb23 100644 --- a/docs/models/operations/createdeploymentgitsource8.md +++ b/docs/models/operations/createdeploymentgitsource8.md @@ -9,7 +9,7 @@ let value: CreateDeploymentGitSource8 = { type: "gitlab", ref: "", sha: "", - projectId: 8671.15, + projectId: 6211.40, }; ``` diff --git a/docs/models/operations/createdeploymenthastype.md b/docs/models/operations/createdeploymenthastype.md index 637ffea8..85609369 100644 --- a/docs/models/operations/createdeploymenthastype.md +++ b/docs/models/operations/createdeploymenthastype.md @@ -5,7 +5,7 @@ ```typescript import { CreateDeploymentHasType } from "@vercel/sdk/models/operations/createdeployment.js"; -let value: CreateDeploymentHasType = "header"; +let value: CreateDeploymentHasType = "query"; ``` ## Values diff --git a/docs/models/operations/createdeploymentmissingtype.md b/docs/models/operations/createdeploymentmissingtype.md index f3e8c942..4e2dc603 100644 --- a/docs/models/operations/createdeploymentmissingtype.md +++ b/docs/models/operations/createdeploymentmissingtype.md @@ -5,7 +5,7 @@ ```typescript import { CreateDeploymentMissingType } from "@vercel/sdk/models/operations/createdeployment.js"; -let value: CreateDeploymentMissingType = "cookie"; +let value: CreateDeploymentMissingType = "header"; ``` ## Values diff --git a/docs/models/operations/createdeploymentoutput.md b/docs/models/operations/createdeploymentoutput.md index 095529b0..b3b91c74 100644 --- a/docs/models/operations/createdeploymentoutput.md +++ b/docs/models/operations/createdeploymentoutput.md @@ -6,7 +6,7 @@ import { CreateDeploymentOutput } from "@vercel/sdk/models/operations/createdeployment.js"; let value: CreateDeploymentOutput = { - path: "/etc/periodic", + path: "/usr/local/bin", functionName: "", }; ``` diff --git a/docs/models/operations/createdeploymentreadystate.md b/docs/models/operations/createdeploymentreadystate.md index be059ab2..9cc35e9e 100644 --- a/docs/models/operations/createdeploymentreadystate.md +++ b/docs/models/operations/createdeploymentreadystate.md @@ -5,7 +5,7 @@ ```typescript import { CreateDeploymentReadyState } from "@vercel/sdk/models/operations/createdeployment.js"; -let value: CreateDeploymentReadyState = "INITIALIZING"; +let value: CreateDeploymentReadyState = "ERROR"; ``` ## Values diff --git a/docs/models/operations/createdeploymentrequest.md b/docs/models/operations/createdeploymentrequest.md index df9c35cd..4cb12c8d 100644 --- a/docs/models/operations/createdeploymentrequest.md +++ b/docs/models/operations/createdeploymentrequest.md @@ -9,7 +9,6 @@ let value: CreateDeploymentRequest = { requestBody: { files: [ { - data: "", file: "folder/file.js", }, ], diff --git a/docs/models/operations/createdeploymentrequestbody.md b/docs/models/operations/createdeploymentrequestbody.md index 79428b8c..fd954b9b 100644 --- a/docs/models/operations/createdeploymentrequestbody.md +++ b/docs/models/operations/createdeploymentrequestbody.md @@ -8,7 +8,6 @@ import { CreateDeploymentRequestBody } from "@vercel/sdk/models/operations/creat let value: CreateDeploymentRequestBody = { files: [ { - data: "", file: "folder/file.js", }, ], diff --git a/docs/models/operations/createdeploymentresponsebody.md b/docs/models/operations/createdeploymentresponsebody.md index c446f7f9..5425915d 100644 --- a/docs/models/operations/createdeploymentresponsebody.md +++ b/docs/models/operations/createdeploymentresponsebody.md @@ -16,37 +16,37 @@ let value: CreateDeploymentResponseBody = { env: [ "", ], - inspectorUrl: "https://ornery-sand.org", + inspectorUrl: "https://mindless-dash.biz/", isInConcurrentBuildsQueue: false, isInSystemBuildsQueue: false, projectSettings: {}, aliasAssigned: false, - bootedAt: 366.91, - buildingAt: 1474.00, + bootedAt: 7018.40, + buildingAt: 301.93, buildSkipped: false, creator: { uid: "", }, public: false, - status: "INITIALIZING", + status: "READY", type: "LAMBDAS", - createdAt: 837.91, + createdAt: 4444.79, name: "", id: "", - version: 5161.24, + version: 5023.93, meta: { "key": "", }, - readyState: "ERROR", + readyState: "BUILDING", regions: [ "", ], - url: "https://rusty-alliance.org/", + url: "https://grown-brief.biz", projectId: "", ownerId: "", routes: [ { - handle: "miss", + src: "", }, ], plan: "enterprise", diff --git a/docs/models/operations/createdeploymentsource.md b/docs/models/operations/createdeploymentsource.md index 58794056..78372f65 100644 --- a/docs/models/operations/createdeploymentsource.md +++ b/docs/models/operations/createdeploymentsource.md @@ -5,7 +5,7 @@ ```typescript import { CreateDeploymentSource } from "@vercel/sdk/models/operations/createdeployment.js"; -let value: CreateDeploymentSource = "clone/repo"; +let value: CreateDeploymentSource = "cli"; ``` ## Values diff --git a/docs/models/operations/createdeploymentstatus.md b/docs/models/operations/createdeploymentstatus.md index 14a607b8..c936325a 100644 --- a/docs/models/operations/createdeploymentstatus.md +++ b/docs/models/operations/createdeploymentstatus.md @@ -5,7 +5,7 @@ ```typescript import { CreateDeploymentStatus } from "@vercel/sdk/models/operations/createdeployment.js"; -let value: CreateDeploymentStatus = "CANCELED"; +let value: CreateDeploymentStatus = "READY"; ``` ## Values diff --git a/docs/models/operations/createdeploymenttarget.md b/docs/models/operations/createdeploymenttarget.md index f17d925f..dfbd4320 100644 --- a/docs/models/operations/createdeploymenttarget.md +++ b/docs/models/operations/createdeploymenttarget.md @@ -5,7 +5,7 @@ ```typescript import { CreateDeploymentTarget } from "@vercel/sdk/models/operations/createdeployment.js"; -let value: CreateDeploymentTarget = "staging"; +let value: CreateDeploymentTarget = "production"; ``` ## Values diff --git a/docs/models/operations/createdtarget.md b/docs/models/operations/createdtarget.md index 245dabef..fd7cd3e8 100644 --- a/docs/models/operations/createdtarget.md +++ b/docs/models/operations/createdtarget.md @@ -7,13 +7,13 @@ ```typescript const value: operations.CreateProjectEnvTarget1[] = [ - "production", + "preview", ]; ``` ### `operations.CreateProjectEnvTarget2` ```typescript -const value: operations.CreateProjectEnvTarget2 = "development"; +const value: operations.CreateProjectEnvTarget2 = "preview"; ``` diff --git a/docs/models/operations/createedgeconfigresponsebody.md b/docs/models/operations/createedgeconfigresponsebody.md index 1697af95..e803301f 100644 --- a/docs/models/operations/createedgeconfigresponsebody.md +++ b/docs/models/operations/createedgeconfigresponsebody.md @@ -8,8 +8,8 @@ An Edge Config import { CreateEdgeConfigResponseBody } from "@vercel/sdk/models/operations/createedgeconfig.js"; let value: CreateEdgeConfigResponseBody = { - sizeInBytes: 9191.71, - itemCount: 4116.26, + sizeInBytes: 6568.38, + itemCount: 1064.95, }; ``` diff --git a/docs/models/operations/createedgeconfigtransfer.md b/docs/models/operations/createedgeconfigtransfer.md index 30f54435..15d76844 100644 --- a/docs/models/operations/createedgeconfigtransfer.md +++ b/docs/models/operations/createedgeconfigtransfer.md @@ -9,8 +9,8 @@ import { CreateEdgeConfigTransfer } from "@vercel/sdk/models/operations/createed let value: CreateEdgeConfigTransfer = { fromAccountId: "", - startedAt: 9154.08, - doneAt: 1465.84, + startedAt: 9906.52, + doneAt: 1988.92, }; ``` diff --git a/docs/models/operations/createeventevent.md b/docs/models/operations/createeventevent.md new file mode 100644 index 00000000..c0c686d9 --- /dev/null +++ b/docs/models/operations/createeventevent.md @@ -0,0 +1,23 @@ +# CreateEventEvent + + +## Supported Types + +### `operations.Event1` + +```typescript +const value: operations.Event1 = { + type: "installation.updated", +}; +``` + +### `operations.Event2` + +```typescript +const value: operations.Event2 = { + type: "resource.updated", + productId: "", + resourceId: "", +}; +``` + diff --git a/docs/models/operations/createeventeventtype.md b/docs/models/operations/createeventeventtype.md new file mode 100644 index 00000000..abcc078d --- /dev/null +++ b/docs/models/operations/createeventeventtype.md @@ -0,0 +1,15 @@ +# CreateEventEventType + +## Example Usage + +```typescript +import { CreateEventEventType } from "@vercel/sdk/models/operations/createevent.js"; + +let value: CreateEventEventType = "resource.updated"; +``` + +## Values + +```typescript +"resource.updated" +``` \ No newline at end of file diff --git a/docs/models/operations/createeventrequest.md b/docs/models/operations/createeventrequest.md new file mode 100644 index 00000000..6556dd90 --- /dev/null +++ b/docs/models/operations/createeventrequest.md @@ -0,0 +1,18 @@ +# CreateEventRequest + +## Example Usage + +```typescript +import { CreateEventRequest } from "@vercel/sdk/models/operations/createevent.js"; + +let value: CreateEventRequest = { + integrationConfigurationId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `integrationConfigurationId` | *string* | :heavy_check_mark: | N/A | +| `requestBody` | [operations.CreateEventRequestBody](../../models/operations/createeventrequestbody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createeventrequestbody.md b/docs/models/operations/createeventrequestbody.md new file mode 100644 index 00000000..ac2f340a --- /dev/null +++ b/docs/models/operations/createeventrequestbody.md @@ -0,0 +1,19 @@ +# CreateEventRequestBody + +## Example Usage + +```typescript +import { CreateEventRequestBody } from "@vercel/sdk/models/operations/createevent.js"; + +let value: CreateEventRequestBody = { + event: { + type: "installation.updated", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ----------------------------- | ----------------------------- | ----------------------------- | ----------------------------- | +| `event` | *operations.CreateEventEvent* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/createlogdrainsources.md b/docs/models/operations/createlogdrainsources.md index 0feaeb0a..b599ce85 100644 --- a/docs/models/operations/createlogdrainsources.md +++ b/docs/models/operations/createlogdrainsources.md @@ -7,7 +7,7 @@ The sources from which logs are currently being delivered to this log drain. ```typescript import { CreateLogDrainSources } from "@vercel/sdk/models/operations/createlogdrain.js"; -let value: CreateLogDrainSources = "external"; +let value: CreateLogDrainSources = "edge"; ``` ## Values diff --git a/docs/models/operations/createortransferdomainrequest.md b/docs/models/operations/createortransferdomainrequest.md index e142b6ed..94371ba9 100644 --- a/docs/models/operations/createortransferdomainrequest.md +++ b/docs/models/operations/createortransferdomainrequest.md @@ -9,7 +9,8 @@ let value: CreateOrTransferDomainRequest = { requestBody: { name: "example.com", method: "transfer-in", - token: "fdhfr820ad#@FAdlj$$", + authCode: "fdhfr820ad#@FAdlj$$", + expectedPrice: 8, }, }; ``` diff --git a/docs/models/operations/createprojectenv1target.md b/docs/models/operations/createprojectenv1target.md index cca3ec09..2d0ed579 100644 --- a/docs/models/operations/createprojectenv1target.md +++ b/docs/models/operations/createprojectenv1target.md @@ -5,7 +5,7 @@ ```typescript import { CreateProjectEnv1Target } from "@vercel/sdk/models/operations/createprojectenv.js"; -let value: CreateProjectEnv1Target = "preview"; +let value: CreateProjectEnv1Target = "development"; ``` ## Values diff --git a/docs/models/operations/createprojectenv2target.md b/docs/models/operations/createprojectenv2target.md index 0cf537eb..94651416 100644 --- a/docs/models/operations/createprojectenv2target.md +++ b/docs/models/operations/createprojectenv2target.md @@ -5,7 +5,7 @@ ```typescript import { CreateProjectEnv2Target } from "@vercel/sdk/models/operations/createprojectenv.js"; -let value: CreateProjectEnv2Target = "development"; +let value: CreateProjectEnv2Target = "production"; ``` ## Values diff --git a/docs/models/operations/createprojectenvcreatedtarget.md b/docs/models/operations/createprojectenvcreatedtarget.md index 5f1623f6..96145e21 100644 --- a/docs/models/operations/createprojectenvcreatedtarget.md +++ b/docs/models/operations/createprojectenvcreatedtarget.md @@ -14,6 +14,6 @@ const value: string[] = [ ### `operations.CreateProjectEnvTargetProjects2` ```typescript -const value: operations.CreateProjectEnvTargetProjects2 = "production"; +const value: operations.CreateProjectEnvTargetProjects2 = "development"; ``` diff --git a/docs/models/operations/createprojectenvcreatedtype.md b/docs/models/operations/createprojectenvcreatedtype.md index 9b1317ae..2556822c 100644 --- a/docs/models/operations/createprojectenvcreatedtype.md +++ b/docs/models/operations/createprojectenvcreatedtype.md @@ -5,7 +5,7 @@ ```typescript import { CreateProjectEnvCreatedType } from "@vercel/sdk/models/operations/createprojectenv.js"; -let value: CreateProjectEnvCreatedType = "secret"; +let value: CreateProjectEnvCreatedType = "system"; ``` ## Values diff --git a/docs/models/operations/createprojectenvrequest.md b/docs/models/operations/createprojectenvrequest.md index b03f457a..6c174c70 100644 --- a/docs/models/operations/createprojectenvrequest.md +++ b/docs/models/operations/createprojectenvrequest.md @@ -8,16 +8,18 @@ import { CreateProjectEnvRequest } from "@vercel/sdk/models/operations/createpro let value: CreateProjectEnvRequest = { idOrName: "prj_XLKmu1DyR1eY7zq8UgeRKbA7yVLA", upsert: "true", - requestBody: { - key: "API_URL", - value: "https://api.vercel.com", - type: "plain", - target: [ - "preview", - ], - gitBranch: "feature-1", - comment: "database connection string for production", - }, + requestBody: [ + { + key: "API_URL", + value: "https://api.vercel.com", + type: "plain", + target: [ + "preview", + ], + gitBranch: "feature-1", + comment: "database connection string for production", + }, + ], }; ``` diff --git a/docs/models/operations/createprojectenvtarget.md b/docs/models/operations/createprojectenvtarget.md index c7b2696e..c8068454 100644 --- a/docs/models/operations/createprojectenvtarget.md +++ b/docs/models/operations/createprojectenvtarget.md @@ -7,13 +7,13 @@ ```typescript const value: operations.CreateProjectEnvTargetProjects1[] = [ - "development", + "preview", ]; ``` ### `operations.CreateProjectEnvTargetProjectsResponse2` ```typescript -const value: operations.CreateProjectEnvTargetProjectsResponse2 = "preview"; +const value: operations.CreateProjectEnvTargetProjectsResponse2 = "production"; ``` diff --git a/docs/models/operations/createprojectenvtarget1.md b/docs/models/operations/createprojectenvtarget1.md index 89461df7..cf30a98c 100644 --- a/docs/models/operations/createprojectenvtarget1.md +++ b/docs/models/operations/createprojectenvtarget1.md @@ -5,7 +5,7 @@ ```typescript import { CreateProjectEnvTarget1 } from "@vercel/sdk/models/operations/createprojectenv.js"; -let value: CreateProjectEnvTarget1 = "production"; +let value: CreateProjectEnvTarget1 = "development"; ``` ## Values diff --git a/docs/models/operations/createprojectenvtarget2.md b/docs/models/operations/createprojectenvtarget2.md index b7a26425..3c780681 100644 --- a/docs/models/operations/createprojectenvtarget2.md +++ b/docs/models/operations/createprojectenvtarget2.md @@ -5,7 +5,7 @@ ```typescript import { CreateProjectEnvTarget2 } from "@vercel/sdk/models/operations/createprojectenv.js"; -let value: CreateProjectEnvTarget2 = "development"; +let value: CreateProjectEnvTarget2 = "production"; ``` ## Values diff --git a/docs/models/operations/createprojectenvtargetprojects1.md b/docs/models/operations/createprojectenvtargetprojects1.md index 0005a117..6fcf2a15 100644 --- a/docs/models/operations/createprojectenvtargetprojects1.md +++ b/docs/models/operations/createprojectenvtargetprojects1.md @@ -5,7 +5,7 @@ ```typescript import { CreateProjectEnvTargetProjects1 } from "@vercel/sdk/models/operations/createprojectenv.js"; -let value: CreateProjectEnvTargetProjects1 = "production"; +let value: CreateProjectEnvTargetProjects1 = "development"; ``` ## Values diff --git a/docs/models/operations/createprojectenvtargetprojectsresponse2.md b/docs/models/operations/createprojectenvtargetprojectsresponse2.md index c105d30d..d2b6b32f 100644 --- a/docs/models/operations/createprojectenvtargetprojectsresponse2.md +++ b/docs/models/operations/createprojectenvtargetprojectsresponse2.md @@ -5,7 +5,7 @@ ```typescript import { CreateProjectEnvTargetProjectsResponse2 } from "@vercel/sdk/models/operations/createprojectenv.js"; -let value: CreateProjectEnvTargetProjectsResponse2 = "production"; +let value: CreateProjectEnvTargetProjectsResponse2 = "development"; ``` ## Values diff --git a/docs/models/operations/createprojectenvvalue.md b/docs/models/operations/createprojectenvvalue.md index 01b90e47..9d3bd088 100644 --- a/docs/models/operations/createprojectenvvalue.md +++ b/docs/models/operations/createprojectenvvalue.md @@ -13,7 +13,7 @@ const value: string = ""; ```typescript const value: operations.CreateProjectEnvValue2[] = [ - "development", + "production", ]; ``` diff --git a/docs/models/operations/createprojectenvvalue2.md b/docs/models/operations/createprojectenvvalue2.md index 06ed5092..4004c795 100644 --- a/docs/models/operations/createprojectenvvalue2.md +++ b/docs/models/operations/createprojectenvvalue2.md @@ -5,7 +5,7 @@ ```typescript import { CreateProjectEnvValue2 } from "@vercel/sdk/models/operations/createprojectenv.js"; -let value: CreateProjectEnvValue2 = "production"; +let value: CreateProjectEnvValue2 = "development"; ``` ## Values diff --git a/docs/models/operations/createprojectpermissions.md b/docs/models/operations/createprojectpermissions.md index 07d165f5..a6b49714 100644 --- a/docs/models/operations/createprojectpermissions.md +++ b/docs/models/operations/createprojectpermissions.md @@ -83,6 +83,7 @@ let value: CreateProjectPermissions = {}; | `notificationCustomerBudget` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | | `notificationStatementOfReasons` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | | `oauth2Connection` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `observabilityConfiguration` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | | `openTelemetryEndpoint` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | | `paymentMethod` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | | `permissions` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | @@ -157,6 +158,7 @@ let value: CreateProjectPermissions = {}; | `passwordProtection` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | | `optionsAllowlist` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | | `job` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `observabilityData` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | | `project` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | | `projectFromV0` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | | `projectAccessGroup` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | diff --git a/docs/models/operations/createrecordrequest.md b/docs/models/operations/createrecordrequest.md index b2fb594a..148e3a9b 100644 --- a/docs/models/operations/createrecordrequest.md +++ b/docs/models/operations/createrecordrequest.md @@ -11,7 +11,7 @@ let value: CreateRecordRequest = { name: "subdomain", type: "CAA", ttl: 60, - value: "cname.vercel-dns.com", + value: "0 issue \\"letsencrypt.org\\"", comment: "used to verify ownership of domain", }, }; diff --git a/docs/models/operations/createrecordrequestbody.md b/docs/models/operations/createrecordrequestbody.md index f4947779..bcca4316 100644 --- a/docs/models/operations/createrecordrequestbody.md +++ b/docs/models/operations/createrecordrequestbody.md @@ -8,7 +8,7 @@ ```typescript const value: operations.RequestBody1 = { name: "subdomain", - type: "CAA", + type: "A", ttl: 60, value: "192.0.2.42", comment: "used to verify ownership of domain", @@ -20,7 +20,7 @@ const value: operations.RequestBody1 = { ```typescript const value: operations.RequestBody2 = { name: "subdomain", - type: "NS", + type: "HTTPS", ttl: 60, value: "2001:DB8::42", comment: "used to verify ownership of domain", @@ -32,7 +32,7 @@ const value: operations.RequestBody2 = { ```typescript const value: operations.RequestBody3 = { name: "subdomain", - type: "NS", + type: "HTTPS", ttl: 60, value: "cname.vercel-dns.com", comment: "used to verify ownership of domain", @@ -44,7 +44,7 @@ const value: operations.RequestBody3 = { ```typescript const value: operations.RequestBody4 = { name: "subdomain", - type: "MX", + type: "CAA", ttl: 60, value: "0 issue \\"letsencrypt.org\\"", comment: "used to verify ownership of domain", @@ -56,7 +56,7 @@ const value: operations.RequestBody4 = { ```typescript const value: operations.RequestBody5 = { name: "subdomain", - type: "MX", + type: "A", ttl: 60, value: "cname.vercel-dns.com", comment: "used to verify ownership of domain", @@ -68,7 +68,7 @@ const value: operations.RequestBody5 = { ```typescript const value: operations.Six = { name: "subdomain", - type: "A", + type: "ALIAS", ttl: 60, value: "10 mail.example.com.", mxPriority: 10, @@ -80,7 +80,7 @@ const value: operations.Six = { ```typescript const value: operations.Seven = { - type: "HTTPS", + type: "CAA", ttl: 60, srv: { priority: 10, @@ -96,7 +96,7 @@ const value: operations.Seven = { ```typescript const value: operations.Eight = { - type: "HTTPS", + type: "CNAME", ttl: 60, value: "hello", comment: "used to verify ownership of domain", @@ -108,7 +108,7 @@ const value: operations.Eight = { ```typescript const value: operations.Nine = { name: "subdomain", - type: "CAA", + type: "HTTPS", ttl: 60, value: "ns1.example.com", comment: "used to verify ownership of domain", @@ -119,7 +119,7 @@ const value: operations.Nine = { ```typescript const value: operations.Ten = { - type: "A", + type: "SRV", ttl: 60, https: { priority: 10, diff --git a/docs/models/operations/createrecordrequestbodydnsrequest10type.md b/docs/models/operations/createrecordrequestbodydnsrequest10type.md index fc2adacb..c6c15d91 100644 --- a/docs/models/operations/createrecordrequestbodydnsrequest10type.md +++ b/docs/models/operations/createrecordrequestbodydnsrequest10type.md @@ -7,7 +7,7 @@ The type of record, it could be one of the valid DNS records. ```typescript import { CreateRecordRequestBodyDnsRequest10Type } from "@vercel/sdk/models/operations/createrecord.js"; -let value: CreateRecordRequestBodyDnsRequest10Type = "NS"; +let value: CreateRecordRequestBodyDnsRequest10Type = "AAAA"; ``` ## Values diff --git a/docs/models/operations/createrecordrequestbodydnsrequest5type.md b/docs/models/operations/createrecordrequestbodydnsrequest5type.md index 10bcb3c4..c4a5d3ac 100644 --- a/docs/models/operations/createrecordrequestbodydnsrequest5type.md +++ b/docs/models/operations/createrecordrequestbodydnsrequest5type.md @@ -7,7 +7,7 @@ The type of record, it could be one of the valid DNS records. ```typescript import { CreateRecordRequestBodyDnsRequest5Type } from "@vercel/sdk/models/operations/createrecord.js"; -let value: CreateRecordRequestBodyDnsRequest5Type = "HTTPS"; +let value: CreateRecordRequestBodyDnsRequest5Type = "TXT"; ``` ## Values diff --git a/docs/models/operations/createrecordrequestbodydnsrequest6type.md b/docs/models/operations/createrecordrequestbodydnsrequest6type.md index c7323a01..c0ed6030 100644 --- a/docs/models/operations/createrecordrequestbodydnsrequest6type.md +++ b/docs/models/operations/createrecordrequestbodydnsrequest6type.md @@ -7,7 +7,7 @@ The type of record, it could be one of the valid DNS records. ```typescript import { CreateRecordRequestBodyDnsRequest6Type } from "@vercel/sdk/models/operations/createrecord.js"; -let value: CreateRecordRequestBodyDnsRequest6Type = "ALIAS"; +let value: CreateRecordRequestBodyDnsRequest6Type = "TXT"; ``` ## Values diff --git a/docs/models/operations/createrecordrequestbodydnsrequest7type.md b/docs/models/operations/createrecordrequestbodydnsrequest7type.md index 978c95dd..afe8dbc4 100644 --- a/docs/models/operations/createrecordrequestbodydnsrequest7type.md +++ b/docs/models/operations/createrecordrequestbodydnsrequest7type.md @@ -7,7 +7,7 @@ The type of record, it could be one of the valid DNS records. ```typescript import { CreateRecordRequestBodyDnsRequest7Type } from "@vercel/sdk/models/operations/createrecord.js"; -let value: CreateRecordRequestBodyDnsRequest7Type = "AAAA"; +let value: CreateRecordRequestBodyDnsRequest7Type = "CAA"; ``` ## Values diff --git a/docs/models/operations/createrecordrequestbodydnsrequest8type.md b/docs/models/operations/createrecordrequestbodydnsrequest8type.md index abd070f0..bb0226bd 100644 --- a/docs/models/operations/createrecordrequestbodydnsrequest8type.md +++ b/docs/models/operations/createrecordrequestbodydnsrequest8type.md @@ -7,7 +7,7 @@ The type of record, it could be one of the valid DNS records. ```typescript import { CreateRecordRequestBodyDnsRequest8Type } from "@vercel/sdk/models/operations/createrecord.js"; -let value: CreateRecordRequestBodyDnsRequest8Type = "SRV"; +let value: CreateRecordRequestBodyDnsRequest8Type = "TXT"; ``` ## Values diff --git a/docs/models/operations/createrecordrequestbodydnsrequest9type.md b/docs/models/operations/createrecordrequestbodydnsrequest9type.md index 8d0594c7..c6158b0d 100644 --- a/docs/models/operations/createrecordrequestbodydnsrequest9type.md +++ b/docs/models/operations/createrecordrequestbodydnsrequest9type.md @@ -7,7 +7,7 @@ The type of record, it could be one of the valid DNS records. ```typescript import { CreateRecordRequestBodyDnsRequest9Type } from "@vercel/sdk/models/operations/createrecord.js"; -let value: CreateRecordRequestBodyDnsRequest9Type = "CAA"; +let value: CreateRecordRequestBodyDnsRequest9Type = "CNAME"; ``` ## Values diff --git a/docs/models/operations/createrecordrequestbodydnsrequesttype.md b/docs/models/operations/createrecordrequestbodydnsrequesttype.md index 51bb5777..669a3a04 100644 --- a/docs/models/operations/createrecordrequestbodydnsrequesttype.md +++ b/docs/models/operations/createrecordrequestbodydnsrequesttype.md @@ -7,7 +7,7 @@ The type of record, it could be one of the valid DNS records. ```typescript import { CreateRecordRequestBodyDnsRequestType } from "@vercel/sdk/models/operations/createrecord.js"; -let value: CreateRecordRequestBodyDnsRequestType = "TXT"; +let value: CreateRecordRequestBodyDnsRequestType = "AAAA"; ``` ## Values diff --git a/docs/models/operations/createrecordrequestbodydnstype.md b/docs/models/operations/createrecordrequestbodydnstype.md index fa6dc64b..ff34886c 100644 --- a/docs/models/operations/createrecordrequestbodydnstype.md +++ b/docs/models/operations/createrecordrequestbodydnstype.md @@ -7,7 +7,7 @@ The type of record, it could be one of the valid DNS records. ```typescript import { CreateRecordRequestBodyDnsType } from "@vercel/sdk/models/operations/createrecord.js"; -let value: CreateRecordRequestBodyDnsType = "NS"; +let value: CreateRecordRequestBodyDnsType = "A"; ``` ## Values diff --git a/docs/models/operations/createrecordrequestbodytype.md b/docs/models/operations/createrecordrequestbodytype.md index 5945b7bc..ec42b079 100644 --- a/docs/models/operations/createrecordrequestbodytype.md +++ b/docs/models/operations/createrecordrequestbodytype.md @@ -7,7 +7,7 @@ The type of record, it could be one of the valid DNS records. ```typescript import { CreateRecordRequestBodyType } from "@vercel/sdk/models/operations/createrecord.js"; -let value: CreateRecordRequestBodyType = "CNAME"; +let value: CreateRecordRequestBodyType = "NS"; ``` ## Values diff --git a/docs/models/operations/createrecordresponsebody.md b/docs/models/operations/createrecordresponsebody.md index 4e3e6f35..1b8cf422 100644 --- a/docs/models/operations/createrecordresponsebody.md +++ b/docs/models/operations/createrecordresponsebody.md @@ -10,7 +10,7 @@ Successful response showing the uid of the newly created DNS record. ```typescript const value: operations.CreateRecordResponseBody1 = { uid: "", - updated: 5909.27, + updated: 408.75, }; ``` diff --git a/docs/models/operations/createrecordresponsebody1.md b/docs/models/operations/createrecordresponsebody1.md index cc3c6877..c8642c64 100644 --- a/docs/models/operations/createrecordresponsebody1.md +++ b/docs/models/operations/createrecordresponsebody1.md @@ -7,7 +7,7 @@ import { CreateRecordResponseBody1 } from "@vercel/sdk/models/operations/creater let value: CreateRecordResponseBody1 = { uid: "", - updated: 4351.42, + updated: 196.92, }; ``` diff --git a/docs/models/operations/createteambilling.md b/docs/models/operations/createteambilling.md new file mode 100644 index 00000000..529295d4 --- /dev/null +++ b/docs/models/operations/createteambilling.md @@ -0,0 +1,16 @@ +# CreateTeamBilling + +IMPORTANT: If extending Billing, particularly with optional fields, make sure you also update `sync-orb-subscription-to-owner.ts` to handle the items when the object is recreated. + +## Example Usage + +```typescript +import { CreateTeamBilling } from "@vercel/sdk/models/operations/createteam.js"; + +let value: CreateTeamBilling = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/operations/createteamresponsebody.md b/docs/models/operations/createteamresponsebody.md index 4fb7bf6a..46616666 100644 --- a/docs/models/operations/createteamresponsebody.md +++ b/docs/models/operations/createteamresponsebody.md @@ -20,4 +20,4 @@ let value: CreateTeamResponseBody = { | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `id` | *string* | :heavy_check_mark: | Id of the created team | team_nLlpyC6RE1qxqglFKbrMxlud | | `slug` | *string* | :heavy_check_mark: | N/A | | -| `billing` | [operations.Billing](../../models/operations/billing.md) | :heavy_check_mark: | IMPORTANT: If extending Billing, particularly with optional fields, make sure you also update `sync-orb-subscription-to-owner.ts` to handle the items when the object is recreated. | | \ No newline at end of file +| `billing` | [operations.CreateTeamBilling](../../models/operations/createteambilling.md) | :heavy_check_mark: | IMPORTANT: If extending Billing, particularly with optional fields, make sure you also update `sync-orb-subscription-to-owner.ts` to handle the items when the object is recreated. | | \ No newline at end of file diff --git a/docs/models/operations/createwebhookrequestbody.md b/docs/models/operations/createwebhookrequestbody.md index 0f823464..b2394043 100644 --- a/docs/models/operations/createwebhookrequestbody.md +++ b/docs/models/operations/createwebhookrequestbody.md @@ -6,9 +6,9 @@ import { CreateWebhookRequestBody } from "@vercel/sdk/models/operations/createwebhook.js"; let value: CreateWebhookRequestBody = { - url: "https://rosy-validity.net/", + url: "https://wide-seagull.net/", events: [ - "edge-config.items.updated", + "observability.anomaly", ], }; ``` diff --git a/docs/models/operations/deletedeploymentresponsebody.md b/docs/models/operations/deletedeploymentresponsebody.md index 991d2317..7faeb66a 100644 --- a/docs/models/operations/deletedeploymentresponsebody.md +++ b/docs/models/operations/deletedeploymentresponsebody.md @@ -15,7 +15,7 @@ let value: DeleteDeploymentResponseBody = { ## Fields -| Field | Type | Required | Description | Example | -| ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | -| `uid` | *string* | :heavy_check_mark: | The removed deployment ID. | dpl_5WJWYSyB7BpgTj3EuwF37WMRBXBtPQ2iTMJHJBJyRfd | -| `state` | [operations.State](../../models/operations/state.md) | :heavy_check_mark: | A constant with the final state of the deployment. | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `uid` | *string* | :heavy_check_mark: | The removed deployment ID. | dpl_5WJWYSyB7BpgTj3EuwF37WMRBXBtPQ2iTMJHJBJyRfd | +| `state` | [operations.DeleteDeploymentState](../../models/operations/deletedeploymentstate.md) | :heavy_check_mark: | A constant with the final state of the deployment. | | \ No newline at end of file diff --git a/docs/models/operations/deletedeploymentstate.md b/docs/models/operations/deletedeploymentstate.md new file mode 100644 index 00000000..af0a58f6 --- /dev/null +++ b/docs/models/operations/deletedeploymentstate.md @@ -0,0 +1,17 @@ +# DeleteDeploymentState + +A constant with the final state of the deployment. + +## Example Usage + +```typescript +import { DeleteDeploymentState } from "@vercel/sdk/models/operations/deletedeployment.js"; + +let value: DeleteDeploymentState = "DELETED"; +``` + +## Values + +```typescript +"DELETED" +``` \ No newline at end of file diff --git a/docs/models/operations/discounts.md b/docs/models/operations/discounts.md new file mode 100644 index 00000000..eda6fd76 --- /dev/null +++ b/docs/models/operations/discounts.md @@ -0,0 +1,25 @@ +# Discounts + +## Example Usage + +```typescript +import { Discounts } from "@vercel/sdk/models/operations/submitbillingdata.js"; + +let value: Discounts = { + billingPlanId: "", + name: "", + amount: "154.42", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `billingPlanId` | *string* | :heavy_check_mark: | Partner's billing plan ID. | +| `resourceId` | *string* | :heavy_minus_sign: | Partner's resource ID. | +| `start` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Start and end are only needed if different from the period's start/end. | +| `end` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Start and end are only needed if different from the period's start/end. | +| `name` | *string* | :heavy_check_mark: | Discount name. | +| `details` | *string* | :heavy_minus_sign: | Discount details. | +| `amount` | *string* | :heavy_check_mark: | Discount amount. | \ No newline at end of file diff --git a/docs/models/operations/editprojectenvresponsebody1.md b/docs/models/operations/editprojectenvresponsebody1.md index 38bca28e..8f239cf8 100644 --- a/docs/models/operations/editprojectenvresponsebody1.md +++ b/docs/models/operations/editprojectenvresponsebody1.md @@ -6,7 +6,7 @@ import { EditProjectEnvResponseBody1 } from "@vercel/sdk/models/operations/editprojectenv.js"; let value: EditProjectEnvResponseBody1 = { - type: "sensitive", + type: "system", key: "", value: "", }; diff --git a/docs/models/operations/editprojectenvresponsebodytarget.md b/docs/models/operations/editprojectenvresponsebodytarget.md index e27d01b6..33afc1fa 100644 --- a/docs/models/operations/editprojectenvresponsebodytarget.md +++ b/docs/models/operations/editprojectenvresponsebodytarget.md @@ -14,6 +14,6 @@ const value: string[] = [ ### `operations.EditProjectEnvTarget2` ```typescript -const value: operations.EditProjectEnvTarget2 = "development"; +const value: operations.EditProjectEnvTarget2 = "preview"; ``` diff --git a/docs/models/operations/editprojectenvresponsebodytype.md b/docs/models/operations/editprojectenvresponsebodytype.md index 2b98e8b3..8a76c47e 100644 --- a/docs/models/operations/editprojectenvresponsebodytype.md +++ b/docs/models/operations/editprojectenvresponsebodytype.md @@ -5,7 +5,7 @@ ```typescript import { EditProjectEnvResponseBodyType } from "@vercel/sdk/models/operations/editprojectenv.js"; -let value: EditProjectEnvResponseBodyType = "secret"; +let value: EditProjectEnvResponseBodyType = "encrypted"; ``` ## Values diff --git a/docs/models/operations/editprojectenvtarget.md b/docs/models/operations/editprojectenvtarget.md index d1fc3d60..afb42622 100644 --- a/docs/models/operations/editprojectenvtarget.md +++ b/docs/models/operations/editprojectenvtarget.md @@ -5,7 +5,7 @@ ```typescript import { EditProjectEnvTarget } from "@vercel/sdk/models/operations/editprojectenv.js"; -let value: EditProjectEnvTarget = "development"; +let value: EditProjectEnvTarget = "preview"; ``` ## Values diff --git a/docs/models/operations/eight.md b/docs/models/operations/eight.md index e8eaac81..274a858c 100644 --- a/docs/models/operations/eight.md +++ b/docs/models/operations/eight.md @@ -6,7 +6,7 @@ import { Eight } from "@vercel/sdk/models/operations/createrecord.js"; let value: Eight = { - type: "AAAA", + type: "HTTPS", ttl: 60, value: "hello", comment: "used to verify ownership of domain", diff --git a/docs/models/operations/encoding.md b/docs/models/operations/encoding.md index 6430d95f..32cb47d4 100644 --- a/docs/models/operations/encoding.md +++ b/docs/models/operations/encoding.md @@ -7,7 +7,7 @@ The file content encoding, it could be either a base64 (useful for images, etc.) ```typescript import { Encoding } from "@vercel/sdk/models/operations/createdeployment.js"; -let value: Encoding = "utf-8"; +let value: Encoding = "base64"; ``` ## Values diff --git a/docs/models/operations/event1.md b/docs/models/operations/event1.md new file mode 100644 index 00000000..080be04d --- /dev/null +++ b/docs/models/operations/event1.md @@ -0,0 +1,18 @@ +# Event1 + +## Example Usage + +```typescript +import { Event1 } from "@vercel/sdk/models/operations/createevent.js"; + +let value: Event1 = { + type: "installation.updated", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | +| `type` | [operations.EventType](../../models/operations/eventtype.md) | :heavy_check_mark: | N/A | +| `billingPlanId` | *string* | :heavy_minus_sign: | The installation-level billing plan ID | \ No newline at end of file diff --git a/docs/models/operations/event2.md b/docs/models/operations/event2.md new file mode 100644 index 00000000..f3f55fb2 --- /dev/null +++ b/docs/models/operations/event2.md @@ -0,0 +1,21 @@ +# Event2 + +## Example Usage + +```typescript +import { Event2 } from "@vercel/sdk/models/operations/createevent.js"; + +let value: Event2 = { + type: "resource.updated", + productId: "", + resourceId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `type` | [operations.CreateEventEventType](../../models/operations/createeventeventtype.md) | :heavy_check_mark: | N/A | +| `productId` | *string* | :heavy_check_mark: | Partner-provided product slug or id | +| `resourceId` | *string* | :heavy_check_mark: | Partner provided resource ID | \ No newline at end of file diff --git a/docs/models/operations/events.md b/docs/models/operations/events.md index 98cd392b..402b909c 100644 --- a/docs/models/operations/events.md +++ b/docs/models/operations/events.md @@ -5,7 +5,7 @@ ```typescript import { Events } from "@vercel/sdk/models/operations/createwebhook.js"; -let value: Events = "firewall.attack"; +let value: Events = "integration-configuration-permission-updated"; ``` ## Values diff --git a/docs/models/operations/eventtype.md b/docs/models/operations/eventtype.md new file mode 100644 index 00000000..bcba4d5e --- /dev/null +++ b/docs/models/operations/eventtype.md @@ -0,0 +1,15 @@ +# EventType + +## Example Usage + +```typescript +import { EventType } from "@vercel/sdk/models/operations/createevent.js"; + +let value: EventType = "installation.updated"; +``` + +## Values + +```typescript +"installation.updated" +``` \ No newline at end of file diff --git a/docs/models/operations/exchangessotokenrequestbody.md b/docs/models/operations/exchangessotokenrequestbody.md new file mode 100644 index 00000000..f9d4d82e --- /dev/null +++ b/docs/models/operations/exchangessotokenrequestbody.md @@ -0,0 +1,23 @@ +# ExchangeSsoTokenRequestBody + +## Example Usage + +```typescript +import { ExchangeSsoTokenRequestBody } from "@vercel/sdk/models/operations/exchangessotoken.js"; + +let value: ExchangeSsoTokenRequestBody = { + code: "", + clientId: "", + clientSecret: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | +| `code` | *string* | :heavy_check_mark: | The sensitive code received from Vercel | +| `state` | *string* | :heavy_minus_sign: | The state received from the initialization request | +| `clientId` | *string* | :heavy_check_mark: | The integration client id | +| `clientSecret` | *string* | :heavy_check_mark: | The integration client secret | +| `redirectUri` | *string* | :heavy_minus_sign: | The integration redirect URI | \ No newline at end of file diff --git a/docs/models/operations/exchangessotokenresponsebody.md b/docs/models/operations/exchangessotokenresponsebody.md new file mode 100644 index 00000000..1678b3ee --- /dev/null +++ b/docs/models/operations/exchangessotokenresponsebody.md @@ -0,0 +1,21 @@ +# ExchangeSsoTokenResponseBody + +## Example Usage + +```typescript +import { ExchangeSsoTokenResponseBody } from "@vercel/sdk/models/operations/exchangessotoken.js"; + +let value: ExchangeSsoTokenResponseBody = { + idToken: "", + accessToken: "", + tokenType: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `idToken` | *string* | :heavy_check_mark: | N/A | +| `accessToken` | *any* | :heavy_check_mark: | N/A | +| `tokenType` | *any* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/filterprojectenvsresponsebodyprojectsresponse200type.md b/docs/models/operations/filterprojectenvsresponsebodyprojectsresponse200type.md index 859ebfc4..dda11f6a 100644 --- a/docs/models/operations/filterprojectenvsresponsebodyprojectsresponse200type.md +++ b/docs/models/operations/filterprojectenvsresponsebodyprojectsresponse200type.md @@ -5,7 +5,7 @@ ```typescript import { FilterProjectEnvsResponseBodyProjectsResponse200Type } from "@vercel/sdk/models/operations/filterprojectenvs.js"; -let value: FilterProjectEnvsResponseBodyProjectsResponse200Type = "system"; +let value: FilterProjectEnvsResponseBodyProjectsResponse200Type = "encrypted"; ``` ## Values diff --git a/docs/models/operations/filterprojectenvsresponsebodyprojectsresponsetarget.md b/docs/models/operations/filterprojectenvsresponsebodyprojectsresponsetarget.md index c232debf..1b51a620 100644 --- a/docs/models/operations/filterprojectenvsresponsebodyprojectsresponsetarget.md +++ b/docs/models/operations/filterprojectenvsresponsebodyprojectsresponsetarget.md @@ -7,14 +7,13 @@ ```typescript const value: operations.FilterProjectEnvsTargetProjects1[] = [ - "production", + "preview", ]; ``` ### `operations.FilterProjectEnvsTargetProjectsResponse2` ```typescript -const value: operations.FilterProjectEnvsTargetProjectsResponse2 = - "development"; +const value: operations.FilterProjectEnvsTargetProjectsResponse2 = "production"; ``` diff --git a/docs/models/operations/filterprojectenvsresponsebodyprojectstarget.md b/docs/models/operations/filterprojectenvsresponsebodyprojectstarget.md index d518b8b9..1104ffc8 100644 --- a/docs/models/operations/filterprojectenvsresponsebodyprojectstarget.md +++ b/docs/models/operations/filterprojectenvsresponsebodyprojectstarget.md @@ -7,13 +7,13 @@ ```typescript const value: operations.FilterProjectEnvsTarget1[] = [ - "development", + "production", ]; ``` ### `operations.FilterProjectEnvsTargetProjects2` ```typescript -const value: operations.FilterProjectEnvsTargetProjects2 = "development"; +const value: operations.FilterProjectEnvsTargetProjects2 = "production"; ``` diff --git a/docs/models/operations/filterprojectenvsresponsebodytype.md b/docs/models/operations/filterprojectenvsresponsebodytype.md index 077fe4ac..686bc216 100644 --- a/docs/models/operations/filterprojectenvsresponsebodytype.md +++ b/docs/models/operations/filterprojectenvsresponsebodytype.md @@ -5,7 +5,7 @@ ```typescript import { FilterProjectEnvsResponseBodyType } from "@vercel/sdk/models/operations/filterprojectenvs.js"; -let value: FilterProjectEnvsResponseBodyType = "encrypted"; +let value: FilterProjectEnvsResponseBodyType = "plain"; ``` ## Values diff --git a/docs/models/operations/filterprojectenvstarget1.md b/docs/models/operations/filterprojectenvstarget1.md index 556272b1..87821aca 100644 --- a/docs/models/operations/filterprojectenvstarget1.md +++ b/docs/models/operations/filterprojectenvstarget1.md @@ -5,7 +5,7 @@ ```typescript import { FilterProjectEnvsTarget1 } from "@vercel/sdk/models/operations/filterprojectenvs.js"; -let value: FilterProjectEnvsTarget1 = "production"; +let value: FilterProjectEnvsTarget1 = "preview"; ``` ## Values diff --git a/docs/models/operations/filterprojectenvstarget2.md b/docs/models/operations/filterprojectenvstarget2.md index 227dc097..d4bd79f4 100644 --- a/docs/models/operations/filterprojectenvstarget2.md +++ b/docs/models/operations/filterprojectenvstarget2.md @@ -5,7 +5,7 @@ ```typescript import { FilterProjectEnvsTarget2 } from "@vercel/sdk/models/operations/filterprojectenvs.js"; -let value: FilterProjectEnvsTarget2 = "preview"; +let value: FilterProjectEnvsTarget2 = "development"; ``` ## Values diff --git a/docs/models/operations/filterprojectenvstargetprojects1.md b/docs/models/operations/filterprojectenvstargetprojects1.md index 43df56e6..750c91fc 100644 --- a/docs/models/operations/filterprojectenvstargetprojects1.md +++ b/docs/models/operations/filterprojectenvstargetprojects1.md @@ -5,7 +5,7 @@ ```typescript import { FilterProjectEnvsTargetProjects1 } from "@vercel/sdk/models/operations/filterprojectenvs.js"; -let value: FilterProjectEnvsTargetProjects1 = "preview"; +let value: FilterProjectEnvsTargetProjects1 = "development"; ``` ## Values diff --git a/docs/models/operations/filterprojectenvstargetprojects2.md b/docs/models/operations/filterprojectenvstargetprojects2.md index dd37b385..972f84ad 100644 --- a/docs/models/operations/filterprojectenvstargetprojects2.md +++ b/docs/models/operations/filterprojectenvstargetprojects2.md @@ -5,7 +5,7 @@ ```typescript import { FilterProjectEnvsTargetProjects2 } from "@vercel/sdk/models/operations/filterprojectenvs.js"; -let value: FilterProjectEnvsTargetProjects2 = "preview"; +let value: FilterProjectEnvsTargetProjects2 = "production"; ``` ## Values diff --git a/docs/models/operations/flagsoptions.md b/docs/models/operations/flagsoptions.md index 9b6ca523..f0979334 100644 --- a/docs/models/operations/flagsoptions.md +++ b/docs/models/operations/flagsoptions.md @@ -6,7 +6,7 @@ import { FlagsOptions } from "@vercel/sdk/models/operations/canceldeployment.js"; let value: FlagsOptions = { - value: {}, + value: [], }; ``` diff --git a/docs/models/operations/framework.md b/docs/models/operations/framework.md index 063b35f4..fad3b323 100644 --- a/docs/models/operations/framework.md +++ b/docs/models/operations/framework.md @@ -7,7 +7,7 @@ The framework that is being used for this project. When `null` is used no framew ```typescript import { Framework } from "@vercel/sdk/models/operations/createdeployment.js"; -let value: Framework = "eleventy"; +let value: Framework = "vitepress"; ``` ## Values diff --git a/docs/models/operations/gen.md b/docs/models/operations/gen.md index 0ba99ee0..336fc254 100644 --- a/docs/models/operations/gen.md +++ b/docs/models/operations/gen.md @@ -7,7 +7,7 @@ import { Gen } from "@vercel/sdk/models/operations/putfirewallconfig.js"; let value: Gen = { active: false, - action: "deny", + action: "log", }; ``` diff --git a/docs/models/operations/getaccountinforequest.md b/docs/models/operations/getaccountinforequest.md new file mode 100644 index 00000000..acbe6c1f --- /dev/null +++ b/docs/models/operations/getaccountinforequest.md @@ -0,0 +1,17 @@ +# GetAccountInfoRequest + +## Example Usage + +```typescript +import { GetAccountInfoRequest } from "@vercel/sdk/models/operations/getaccountinfo.js"; + +let value: GetAccountInfoRequest = { + integrationConfigurationId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------- | ---------------------------- | ---------------------------- | ---------------------------- | +| `integrationConfigurationId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getaccountinforesponsebody.md b/docs/models/operations/getaccountinforesponsebody.md new file mode 100644 index 00000000..73ca2351 --- /dev/null +++ b/docs/models/operations/getaccountinforesponsebody.md @@ -0,0 +1,22 @@ +# GetAccountInfoResponseBody + +## Example Usage + +```typescript +import { GetAccountInfoResponseBody } from "@vercel/sdk/models/operations/getaccountinfo.js"; + +let value: GetAccountInfoResponseBody = { + url: "https://burdensome-kettledrum.net/", + contact: { + email: "Arlo76@hotmail.com", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | +| `name` | *string* | :heavy_minus_sign: | N/A | +| `url` | *string* | :heavy_check_mark: | N/A | +| `contact` | [operations.Contact](../../models/operations/contact.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getaliasprotectionbypass.md b/docs/models/operations/getaliasprotectionbypass.md index d66146df..bc6a5e77 100644 --- a/docs/models/operations/getaliasprotectionbypass.md +++ b/docs/models/operations/getaliasprotectionbypass.md @@ -7,7 +7,7 @@ ```typescript const value: operations.ProtectionBypass1 = { - createdAt: 7850.66, + createdAt: 6650.82, createdBy: "", scope: "shareable-link", }; @@ -17,8 +17,8 @@ const value: operations.ProtectionBypass1 = { ```typescript const value: operations.ProtectionBypass2 = { - createdAt: 4153.95, - lastUpdatedAt: 5082.71, + createdAt: 7384.02, + lastUpdatedAt: 5882.02, lastUpdatedBy: "", access: "granted", scope: "user", @@ -29,7 +29,7 @@ const value: operations.ProtectionBypass2 = { ```typescript const value: operations.ProtectionBypass3 = { - createdAt: 4478.78, + createdAt: 4994.61, createdBy: "", scope: "alias-protection-override", }; @@ -39,8 +39,8 @@ const value: operations.ProtectionBypass3 = { ```typescript const value: operations.ProtectionBypass4 = { - createdAt: 9662.21, - lastUpdatedAt: 7930.29, + createdAt: 1362.92, + lastUpdatedAt: 6862.91, lastUpdatedBy: "", scope: "email_invite", }; diff --git a/docs/models/operations/getalllogdrainsdisabledreason.md b/docs/models/operations/getalllogdrainsdisabledreason.md index ad6516cd..0a24b2e8 100644 --- a/docs/models/operations/getalllogdrainsdisabledreason.md +++ b/docs/models/operations/getalllogdrainsdisabledreason.md @@ -5,7 +5,7 @@ ```typescript import { GetAllLogDrainsDisabledReason } from "@vercel/sdk/models/operations/getalllogdrains.js"; -let value: GetAllLogDrainsDisabledReason = "feature-not-available"; +let value: GetAllLogDrainsDisabledReason = "disabled-by-admin"; ``` ## Values diff --git a/docs/models/operations/getalllogdrainsresponsebody.md b/docs/models/operations/getalllogdrainsresponsebody.md index aeb8d0d4..3b7c2d8a 100644 --- a/docs/models/operations/getalllogdrainsresponsebody.md +++ b/docs/models/operations/getalllogdrainsresponsebody.md @@ -7,15 +7,15 @@ import { GetAllLogDrainsResponseBody } from "@vercel/sdk/models/operations/getal let value: GetAllLogDrainsResponseBody = { id: "", - deliveryFormat: "syslog", - url: "https://unsung-amnesty.biz/", + deliveryFormat: "json", + url: "https://sunny-glider.name/", name: "", ownerId: "", - createdAt: 3385.14, - deletedAt: 5774.96, - updatedAt: 8527.36, + createdAt: 9835.55, + deletedAt: 15.95, + updatedAt: 1454.50, environments: [ - "production", + "preview", ], }; ``` diff --git a/docs/models/operations/getalllogdrainssources.md b/docs/models/operations/getalllogdrainssources.md index 68c91105..f3eda86b 100644 --- a/docs/models/operations/getalllogdrainssources.md +++ b/docs/models/operations/getalllogdrainssources.md @@ -5,7 +5,7 @@ ```typescript import { GetAllLogDrainsSources } from "@vercel/sdk/models/operations/getalllogdrains.js"; -let value: GetAllLogDrainsSources = "build"; +let value: GetAllLogDrainsSources = "edge"; ``` ## Values diff --git a/docs/models/operations/getalllogdrainsstatus.md b/docs/models/operations/getalllogdrainsstatus.md index caf4b0f1..0b6ac457 100644 --- a/docs/models/operations/getalllogdrainsstatus.md +++ b/docs/models/operations/getalllogdrainsstatus.md @@ -5,7 +5,7 @@ ```typescript import { GetAllLogDrainsStatus } from "@vercel/sdk/models/operations/getalllogdrains.js"; -let value: GetAllLogDrainsStatus = "enabled"; +let value: GetAllLogDrainsStatus = "disabled"; ``` ## Values diff --git a/docs/models/operations/getcertbyidresponsebody.md b/docs/models/operations/getcertbyidresponsebody.md index ac699142..11355f61 100644 --- a/docs/models/operations/getcertbyidresponsebody.md +++ b/docs/models/operations/getcertbyidresponsebody.md @@ -7,8 +7,8 @@ import { GetCertByIdResponseBody } from "@vercel/sdk/models/operations/getcertby let value: GetCertByIdResponseBody = { id: "", - createdAt: 4343.82, - expiresAt: 5753.97, + createdAt: 4716.93, + expiresAt: 7583.65, autoRenew: false, cns: [ "", diff --git a/docs/models/operations/getconfigurablelogdrainenvironments.md b/docs/models/operations/getconfigurablelogdrainenvironments.md index 97738250..6966bc09 100644 --- a/docs/models/operations/getconfigurablelogdrainenvironments.md +++ b/docs/models/operations/getconfigurablelogdrainenvironments.md @@ -5,7 +5,7 @@ ```typescript import { GetConfigurableLogDrainEnvironments } from "@vercel/sdk/models/operations/getconfigurablelogdrain.js"; -let value: GetConfigurableLogDrainEnvironments = "preview"; +let value: GetConfigurableLogDrainEnvironments = "production"; ``` ## Values diff --git a/docs/models/operations/getconfigurablelogdrainresponsebody.md b/docs/models/operations/getconfigurablelogdrainresponsebody.md index f231d7b8..57509b2e 100644 --- a/docs/models/operations/getconfigurablelogdrainresponsebody.md +++ b/docs/models/operations/getconfigurablelogdrainresponsebody.md @@ -7,15 +7,15 @@ import { GetConfigurableLogDrainResponseBody } from "@vercel/sdk/models/operatio let value: GetConfigurableLogDrainResponseBody = { id: "", - deliveryFormat: "ndjson", - url: "https://pessimistic-euphonium.name/", + deliveryFormat: "json", + url: "https://appropriate-airman.biz/", name: "", ownerId: "", - createdAt: 1696.78, - deletedAt: 1594.69, - updatedAt: 4170.30, + createdAt: 4618.53, + deletedAt: 7262.43, + updatedAt: 4748.72, environments: [ - "production", + "preview", ], secret: "", }; diff --git a/docs/models/operations/getconfigurablelogdrainsources.md b/docs/models/operations/getconfigurablelogdrainsources.md index c26d4cc8..e1c8408e 100644 --- a/docs/models/operations/getconfigurablelogdrainsources.md +++ b/docs/models/operations/getconfigurablelogdrainsources.md @@ -5,7 +5,7 @@ ```typescript import { GetConfigurableLogDrainSources } from "@vercel/sdk/models/operations/getconfigurablelogdrain.js"; -let value: GetConfigurableLogDrainSources = "static"; +let value: GetConfigurableLogDrainSources = "edge"; ``` ## Values diff --git a/docs/models/operations/getconfigurablelogdrainstatus.md b/docs/models/operations/getconfigurablelogdrainstatus.md index 619d5c79..ff96c172 100644 --- a/docs/models/operations/getconfigurablelogdrainstatus.md +++ b/docs/models/operations/getconfigurablelogdrainstatus.md @@ -5,7 +5,7 @@ ```typescript import { GetConfigurableLogDrainStatus } from "@vercel/sdk/models/operations/getconfigurablelogdrain.js"; -let value: GetConfigurableLogDrainStatus = "errored"; +let value: GetConfigurableLogDrainStatus = "disabled"; ``` ## Values diff --git a/docs/models/operations/getconfigurationresponsebodybillingplan.md b/docs/models/operations/getconfigurationresponsebodybillingplan.md index d672bbd1..7e8b0177 100644 --- a/docs/models/operations/getconfigurationresponsebodybillingplan.md +++ b/docs/models/operations/getconfigurationresponsebodybillingplan.md @@ -7,10 +7,9 @@ import { GetConfigurationResponseBodyBillingPlan } from "@vercel/sdk/models/oper let value: GetConfigurationResponseBodyBillingPlan = { id: "", - type: "subscription", + type: "prepayment", name: "", - description: - "license cheerfully repeatedly replicate jell black till transcend before rarely", + description: "across wherever yowza ick moralise", }; ``` diff --git a/docs/models/operations/getconfigurationresponsebodydisabledreason.md b/docs/models/operations/getconfigurationresponsebodydisabledreason.md index 8cc1c5a2..95b30c5e 100644 --- a/docs/models/operations/getconfigurationresponsebodydisabledreason.md +++ b/docs/models/operations/getconfigurationresponsebodydisabledreason.md @@ -5,7 +5,8 @@ ```typescript import { GetConfigurationResponseBodyDisabledReason } from "@vercel/sdk/models/operations/getconfiguration.js"; -let value: GetConfigurationResponseBodyDisabledReason = "disabled-by-owner"; +let value: GetConfigurationResponseBodyDisabledReason = + "original-owner-role-downgraded"; ``` ## Values diff --git a/docs/models/operations/getconfigurationresponsebodyintegrationsdisabledreason.md b/docs/models/operations/getconfigurationresponsebodyintegrationsdisabledreason.md index 53fd09f7..dbf7ca81 100644 --- a/docs/models/operations/getconfigurationresponsebodyintegrationsdisabledreason.md +++ b/docs/models/operations/getconfigurationresponsebodyintegrationsdisabledreason.md @@ -6,7 +6,7 @@ import { GetConfigurationResponseBodyIntegrationsDisabledReason } from "@vercel/sdk/models/operations/getconfiguration.js"; let value: GetConfigurationResponseBodyIntegrationsDisabledReason = - "disabled-by-admin"; + "original-owner-left-the-team"; ``` ## Values diff --git a/docs/models/operations/getconfigurationresponsebodyintegrationsinstallationtype.md b/docs/models/operations/getconfigurationresponsebodyintegrationsinstallationtype.md index bff49d55..394df06f 100644 --- a/docs/models/operations/getconfigurationresponsebodyintegrationsinstallationtype.md +++ b/docs/models/operations/getconfigurationresponsebodyintegrationsinstallationtype.md @@ -8,7 +8,7 @@ Defines the installation type. - 'external' integrations are installed via the e import { GetConfigurationResponseBodyIntegrationsInstallationType } from "@vercel/sdk/models/operations/getconfiguration.js"; let value: GetConfigurationResponseBodyIntegrationsInstallationType = - "marketplace"; + "external"; ``` ## Values diff --git a/docs/models/operations/getconfigurationresponsebodyintegrationsresponsetype.md b/docs/models/operations/getconfigurationresponsebodyintegrationsresponsetype.md index 422bf1d0..ff02e51a 100644 --- a/docs/models/operations/getconfigurationresponsebodyintegrationsresponsetype.md +++ b/docs/models/operations/getconfigurationresponsebodyintegrationsresponsetype.md @@ -5,7 +5,8 @@ ```typescript import { GetConfigurationResponseBodyIntegrationsResponseType } from "@vercel/sdk/models/operations/getconfiguration.js"; -let value: GetConfigurationResponseBodyIntegrationsResponseType = "prepayment"; +let value: GetConfigurationResponseBodyIntegrationsResponseType = + "subscription"; ``` ## Values diff --git a/docs/models/operations/getconfigurationresponsebodyquote.md b/docs/models/operations/getconfigurationresponsebodyquote.md index bd549722..6cd4bbf7 100644 --- a/docs/models/operations/getconfigurationresponsebodyquote.md +++ b/docs/models/operations/getconfigurationresponsebodyquote.md @@ -7,7 +7,7 @@ import { GetConfigurationResponseBodyQuote } from "@vercel/sdk/models/operations let value: GetConfigurationResponseBodyQuote = { line: "", - amount: "454.16", + amount: "500.83", }; ``` diff --git a/docs/models/operations/getconfigurationsrequest.md b/docs/models/operations/getconfigurationsrequest.md index 32aa8f1e..05327956 100644 --- a/docs/models/operations/getconfigurationsrequest.md +++ b/docs/models/operations/getconfigurationsrequest.md @@ -6,7 +6,7 @@ import { GetConfigurationsRequest } from "@vercel/sdk/models/operations/getconfigurations.js"; let value: GetConfigurationsRequest = { - view: "account", + view: "project", }; ``` diff --git a/docs/models/operations/getconfigurationsresponsebodydisabledreason.md b/docs/models/operations/getconfigurationsresponsebodydisabledreason.md index 8ccb2d95..3e4e92ea 100644 --- a/docs/models/operations/getconfigurationsresponsebodydisabledreason.md +++ b/docs/models/operations/getconfigurationsresponsebodydisabledreason.md @@ -5,7 +5,8 @@ ```typescript import { GetConfigurationsResponseBodyDisabledReason } from "@vercel/sdk/models/operations/getconfigurations.js"; -let value: GetConfigurationsResponseBodyDisabledReason = "disabled-by-owner"; +let value: GetConfigurationsResponseBodyDisabledReason = + "feature-not-available"; ``` ## Values diff --git a/docs/models/operations/getconfigurationsresponsebodyintegrationsresponsetype.md b/docs/models/operations/getconfigurationsresponsebodyintegrationsresponsetype.md index 84415570..a575440f 100644 --- a/docs/models/operations/getconfigurationsresponsebodyintegrationsresponsetype.md +++ b/docs/models/operations/getconfigurationsresponsebodyintegrationsresponsetype.md @@ -5,8 +5,7 @@ ```typescript import { GetConfigurationsResponseBodyIntegrationsResponseType } from "@vercel/sdk/models/operations/getconfigurations.js"; -let value: GetConfigurationsResponseBodyIntegrationsResponseType = - "subscription"; +let value: GetConfigurationsResponseBodyIntegrationsResponseType = "prepayment"; ``` ## Values diff --git a/docs/models/operations/getconfigurationsresponsebodyscope.md b/docs/models/operations/getconfigurationsresponsebodyscope.md index 3c45e6ac..35af986e 100644 --- a/docs/models/operations/getconfigurationsresponsebodyscope.md +++ b/docs/models/operations/getconfigurationsresponsebodyscope.md @@ -5,7 +5,7 @@ ```typescript import { GetConfigurationsResponseBodyScope } from "@vercel/sdk/models/operations/getconfigurations.js"; -let value: GetConfigurationsResponseBodyScope = "installation"; +let value: GetConfigurationsResponseBodyScope = "resource"; ``` ## Values diff --git a/docs/models/operations/getdeploymentflagsoptions.md b/docs/models/operations/getdeploymentflagsoptions.md index a2a28918..bf0979f3 100644 --- a/docs/models/operations/getdeploymentflagsoptions.md +++ b/docs/models/operations/getdeploymentflagsoptions.md @@ -6,7 +6,7 @@ import { GetDeploymentFlagsOptions } from "@vercel/sdk/models/operations/getdeployment.js"; let value: GetDeploymentFlagsOptions = { - value: 5663.12, + value: false, }; ``` diff --git a/docs/models/operations/getdeploymentgitrepo1.md b/docs/models/operations/getdeploymentgitrepo1.md index a82afe1d..ad773cb5 100644 --- a/docs/models/operations/getdeploymentgitrepo1.md +++ b/docs/models/operations/getdeploymentgitrepo1.md @@ -7,10 +7,10 @@ import { GetDeploymentGitRepo1 } from "@vercel/sdk/models/operations/getdeployme let value: GetDeploymentGitRepo1 = { namespace: "", - projectId: 986.10, + projectId: 5024.53, type: "gitlab", - url: "https://arid-skean.net", - path: "/boot/defaults", + url: "https://creamy-saloon.name/", + path: "/var/tmp", defaultBranch: "", name: "", private: false, diff --git a/docs/models/operations/getdeploymentgitrepo2.md b/docs/models/operations/getdeploymentgitrepo2.md index 062a3102..ac025ba5 100644 --- a/docs/models/operations/getdeploymentgitrepo2.md +++ b/docs/models/operations/getdeploymentgitrepo2.md @@ -8,14 +8,14 @@ import { GetDeploymentGitRepo2 } from "@vercel/sdk/models/operations/getdeployme let value: GetDeploymentGitRepo2 = { org: "", repo: "", - repoId: 8603.11, + repoId: 411.80, type: "github", - repoOwnerId: 6530.00, - path: "/Network", + repoOwnerId: 8164.21, + path: "/usr/local/src", defaultBranch: "", name: "", private: false, - ownerType: "user", + ownerType: "team", }; ``` diff --git a/docs/models/operations/getdeploymentgitrepo3.md b/docs/models/operations/getdeploymentgitrepo3.md index c01819ee..2b731f94 100644 --- a/docs/models/operations/getdeploymentgitrepo3.md +++ b/docs/models/operations/getdeploymentgitrepo3.md @@ -11,11 +11,11 @@ let value: GetDeploymentGitRepo3 = { slug: "", type: "bitbucket", workspaceUuid: "", - path: "/mnt", + path: "/usr/local/src", defaultBranch: "", name: "", private: false, - ownerType: "user", + ownerType: "team", }; ``` diff --git a/docs/models/operations/getdeploymentgitrepoownertype.md b/docs/models/operations/getdeploymentgitrepoownertype.md index 57f3148b..70ba3e61 100644 --- a/docs/models/operations/getdeploymentgitrepoownertype.md +++ b/docs/models/operations/getdeploymentgitrepoownertype.md @@ -5,7 +5,7 @@ ```typescript import { GetDeploymentGitRepoOwnerType } from "@vercel/sdk/models/operations/getdeployment.js"; -let value: GetDeploymentGitRepoOwnerType = "team"; +let value: GetDeploymentGitRepoOwnerType = "user"; ``` ## Values diff --git a/docs/models/operations/getdeploymentgitsource1.md b/docs/models/operations/getdeploymentgitsource1.md index 60ffc18e..4707f6ce 100644 --- a/docs/models/operations/getdeploymentgitsource1.md +++ b/docs/models/operations/getdeploymentgitsource1.md @@ -7,7 +7,7 @@ import { GetDeploymentGitSource1 } from "@vercel/sdk/models/operations/getdeploy let value: GetDeploymentGitSource1 = { type: "github", - repoId: 9878.89, + repoId: 3304.41, }; ``` diff --git a/docs/models/operations/getdeploymentgitsource3.md b/docs/models/operations/getdeploymentgitsource3.md index fca82f0e..dcb79f9b 100644 --- a/docs/models/operations/getdeploymentgitsource3.md +++ b/docs/models/operations/getdeploymentgitsource3.md @@ -7,7 +7,7 @@ import { GetDeploymentGitSource3 } from "@vercel/sdk/models/operations/getdeploy let value: GetDeploymentGitSource3 = { type: "gitlab", - projectId: 1105.22, + projectId: "", }; ``` diff --git a/docs/models/operations/getdeploymentgitsource6.md b/docs/models/operations/getdeploymentgitsource6.md index e2fc9022..5056337e 100644 --- a/docs/models/operations/getdeploymentgitsource6.md +++ b/docs/models/operations/getdeploymentgitsource6.md @@ -11,7 +11,7 @@ let value: GetDeploymentGitSource6 = { type: "custom", ref: "", sha: "", - gitUrl: "https://untimely-skean.name/", + gitUrl: "https://wretched-newsprint.com", }; ``` diff --git a/docs/models/operations/getdeploymentgitsource7.md b/docs/models/operations/getdeploymentgitsource7.md index d6e69b3e..7005dbbd 100644 --- a/docs/models/operations/getdeploymentgitsource7.md +++ b/docs/models/operations/getdeploymentgitsource7.md @@ -9,7 +9,7 @@ let value: GetDeploymentGitSource7 = { type: "github", ref: "", sha: "", - repoId: 5220.62, + repoId: 6308.32, }; ``` diff --git a/docs/models/operations/getdeploymentgitsource8.md b/docs/models/operations/getdeploymentgitsource8.md index 4d3d10e9..d19b011d 100644 --- a/docs/models/operations/getdeploymentgitsource8.md +++ b/docs/models/operations/getdeploymentgitsource8.md @@ -9,7 +9,7 @@ let value: GetDeploymentGitSource8 = { type: "gitlab", ref: "", sha: "", - projectId: 2628.00, + projectId: 1105.22, }; ``` diff --git a/docs/models/operations/getdeploymentgitsourcedeployments1.md b/docs/models/operations/getdeploymentgitsourcedeployments1.md index 76607136..4f78ac2d 100644 --- a/docs/models/operations/getdeploymentgitsourcedeployments1.md +++ b/docs/models/operations/getdeploymentgitsourcedeployments1.md @@ -7,7 +7,7 @@ import { GetDeploymentGitSourceDeployments1 } from "@vercel/sdk/models/operation let value: GetDeploymentGitSourceDeployments1 = { type: "github", - repoId: "", + repoId: 1355.48, }; ``` diff --git a/docs/models/operations/getdeploymentgitsourcedeployments3.md b/docs/models/operations/getdeploymentgitsourcedeployments3.md index 31b10e3d..bcf6162e 100644 --- a/docs/models/operations/getdeploymentgitsourcedeployments3.md +++ b/docs/models/operations/getdeploymentgitsourcedeployments3.md @@ -7,7 +7,7 @@ import { GetDeploymentGitSourceDeployments3 } from "@vercel/sdk/models/operation let value: GetDeploymentGitSourceDeployments3 = { type: "gitlab", - projectId: 2991.54, + projectId: "", }; ``` diff --git a/docs/models/operations/getdeploymentgitsourcedeployments6.md b/docs/models/operations/getdeploymentgitsourcedeployments6.md index 2a047cd2..1e12af48 100644 --- a/docs/models/operations/getdeploymentgitsourcedeployments6.md +++ b/docs/models/operations/getdeploymentgitsourcedeployments6.md @@ -11,7 +11,7 @@ let value: GetDeploymentGitSourceDeployments6 = { type: "custom", ref: "", sha: "", - gitUrl: "https://agitated-mouser.info/", + gitUrl: "https://low-mortise.org/", }; ``` diff --git a/docs/models/operations/getdeploymentgitsourcedeployments7.md b/docs/models/operations/getdeploymentgitsourcedeployments7.md index 2ffd6491..dc9b8a7d 100644 --- a/docs/models/operations/getdeploymentgitsourcedeployments7.md +++ b/docs/models/operations/getdeploymentgitsourcedeployments7.md @@ -9,7 +9,7 @@ let value: GetDeploymentGitSourceDeployments7 = { type: "github", ref: "", sha: "", - repoId: 8927.07, + repoId: 2991.54, }; ``` diff --git a/docs/models/operations/getdeploymentgitsourcedeployments8.md b/docs/models/operations/getdeploymentgitsourcedeployments8.md index bcc9ea7a..24b5aa25 100644 --- a/docs/models/operations/getdeploymentgitsourcedeployments8.md +++ b/docs/models/operations/getdeploymentgitsourcedeployments8.md @@ -9,7 +9,7 @@ let value: GetDeploymentGitSourceDeployments8 = { type: "gitlab", ref: "", sha: "", - projectId: 4260.02, + projectId: 9234.56, }; ``` diff --git a/docs/models/operations/getdeploymentgitsourcedeploymentsprojectid.md b/docs/models/operations/getdeploymentgitsourcedeploymentsprojectid.md index f4f073a0..e097bc1d 100644 --- a/docs/models/operations/getdeploymentgitsourcedeploymentsprojectid.md +++ b/docs/models/operations/getdeploymentgitsourcedeploymentsprojectid.md @@ -12,6 +12,6 @@ const value: string = ""; ### `number` ```typescript -const value: number = 8518.09; +const value: number = 5831.93; ``` diff --git a/docs/models/operations/getdeploymentgitsourcedeploymentsrepoid.md b/docs/models/operations/getdeploymentgitsourcedeploymentsrepoid.md index ced40655..ddf74a3f 100644 --- a/docs/models/operations/getdeploymentgitsourcedeploymentsrepoid.md +++ b/docs/models/operations/getdeploymentgitsourcedeploymentsrepoid.md @@ -12,6 +12,6 @@ const value: string = ""; ### `number` ```typescript -const value: number = 6308.32; +const value: number = 1989.11; ``` diff --git a/docs/models/operations/getdeploymentgitsourceprojectid.md b/docs/models/operations/getdeploymentgitsourceprojectid.md index c2acf53b..bc4e496d 100644 --- a/docs/models/operations/getdeploymentgitsourceprojectid.md +++ b/docs/models/operations/getdeploymentgitsourceprojectid.md @@ -12,6 +12,6 @@ const value: string = ""; ### `number` ```typescript -const value: number = 7986.89; +const value: number = 6973.30; ``` diff --git a/docs/models/operations/getdeploymentgitsourcerepoid.md b/docs/models/operations/getdeploymentgitsourcerepoid.md index a0e5640c..3234ddd1 100644 --- a/docs/models/operations/getdeploymentgitsourcerepoid.md +++ b/docs/models/operations/getdeploymentgitsourcerepoid.md @@ -12,6 +12,6 @@ const value: string = ""; ### `number` ```typescript -const value: number = 3884.04; +const value: number = 2637.68; ``` diff --git a/docs/models/operations/getdeploymenthas2.md b/docs/models/operations/getdeploymenthas2.md index 9fcd1e08..24989f33 100644 --- a/docs/models/operations/getdeploymenthas2.md +++ b/docs/models/operations/getdeploymenthas2.md @@ -6,7 +6,7 @@ import { GetDeploymentHas2 } from "@vercel/sdk/models/operations/getdeployment.js"; let value: GetDeploymentHas2 = { - type: "header", + type: "cookie", key: "", }; ``` diff --git a/docs/models/operations/getdeploymenthastype.md b/docs/models/operations/getdeploymenthastype.md index 42a0480c..a84e4d32 100644 --- a/docs/models/operations/getdeploymenthastype.md +++ b/docs/models/operations/getdeploymenthastype.md @@ -5,7 +5,7 @@ ```typescript import { GetDeploymentHasType } from "@vercel/sdk/models/operations/getdeployment.js"; -let value: GetDeploymentHasType = "query"; +let value: GetDeploymentHasType = "header"; ``` ## Values diff --git a/docs/models/operations/getdeploymentmissing2.md b/docs/models/operations/getdeploymentmissing2.md index cb98d922..7bb68b8e 100644 --- a/docs/models/operations/getdeploymentmissing2.md +++ b/docs/models/operations/getdeploymentmissing2.md @@ -6,7 +6,7 @@ import { GetDeploymentMissing2 } from "@vercel/sdk/models/operations/getdeployment.js"; let value: GetDeploymentMissing2 = { - type: "cookie", + type: "query", key: "", }; ``` diff --git a/docs/models/operations/getdeploymentmissingtype.md b/docs/models/operations/getdeploymentmissingtype.md index cd143de7..f50815d5 100644 --- a/docs/models/operations/getdeploymentmissingtype.md +++ b/docs/models/operations/getdeploymentmissingtype.md @@ -5,7 +5,7 @@ ```typescript import { GetDeploymentMissingType } from "@vercel/sdk/models/operations/getdeployment.js"; -let value: GetDeploymentMissingType = "cookie"; +let value: GetDeploymentMissingType = "query"; ``` ## Values diff --git a/docs/models/operations/getdeploymentresponsebody.md b/docs/models/operations/getdeploymentresponsebody.md index 29d7456b..c7efb93f 100644 --- a/docs/models/operations/getdeploymentresponsebody.md +++ b/docs/models/operations/getdeploymentresponsebody.md @@ -18,13 +18,13 @@ const value: operations.GetDeploymentResponseBody1 = { env: [ "", ], - inspectorUrl: "https://winding-freezing.net", + inspectorUrl: "https://pastel-cardboard.info", isInConcurrentBuildsQueue: false, isInSystemBuildsQueue: false, projectSettings: {}, aliasAssigned: false, - bootedAt: 5552.94, - buildingAt: 3956.34, + bootedAt: 7815.82, + buildingAt: 6937.47, buildSkipped: false, creator: { uid: "", @@ -33,24 +33,26 @@ const value: operations.GetDeploymentResponseBody1 = { status: "CANCELED", id: "", type: "LAMBDAS", - createdAt: 5983.16, + createdAt: 2593.77, name: "", - readyState: "QUEUED", + readyState: "READY", meta: { "key": "", }, regions: [ "", ], - url: "https://specific-popularity.org/", - version: 2593.77, + url: "https://only-valuable.org/", + version: 8615.91, projectId: "", - plan: "hobby", + plan: "enterprise", createdIn: "", ownerId: "", routes: [ { - handle: "miss", + src: "", + continue: false, + middleware: 6386.09, }, ], }; @@ -61,27 +63,27 @@ const value: operations.GetDeploymentResponseBody1 = { ```typescript const value: operations.GetDeploymentResponseBody2 = { aliasAssigned: false, - bootedAt: 9550.47, - buildingAt: 9792.86, + bootedAt: 4299.97, + buildingAt: 357.43, buildSkipped: false, creator: { uid: "", }, public: false, - status: "CANCELED", + status: "READY", id: "", type: "LAMBDAS", - createdAt: 3590.97, + createdAt: 5021.06, name: "", - readyState: "CANCELED", + readyState: "READY", meta: { "key": "", }, regions: [ "", ], - url: "https://internal-amnesty.net", - version: 5021.06, + url: "https://staid-eternity.net", + version: 5488.46, }; ``` diff --git a/docs/models/operations/getdeploymentresponsebody1.md b/docs/models/operations/getdeploymentresponsebody1.md index 385f8ea7..7482bb4f 100644 --- a/docs/models/operations/getdeploymentresponsebody1.md +++ b/docs/models/operations/getdeploymentresponsebody1.md @@ -16,39 +16,39 @@ let value: GetDeploymentResponseBody1 = { env: [ "", ], - inspectorUrl: "https://caring-caption.info/", + inspectorUrl: "https://important-blowgun.com", isInConcurrentBuildsQueue: false, isInSystemBuildsQueue: false, projectSettings: {}, aliasAssigned: false, - bootedAt: 46.55, - buildingAt: 4248.54, + bootedAt: 2781.17, + buildingAt: 1693.13, buildSkipped: false, creator: { uid: "", }, public: false, - status: "INITIALIZING", + status: "CANCELED", id: "", type: "LAMBDAS", - createdAt: 4016.88, + createdAt: 1512.30, name: "", - readyState: "QUEUED", + readyState: "READY", meta: { "key": "", }, regions: [ "", ], - url: "https://flickering-comestible.org/", - version: 1512.30, + url: "https://official-laughter.org", + version: 3638.45, projectId: "", plan: "hobby", createdIn: "", ownerId: "", routes: [ { - handle: "miss", + handle: "hit", }, ], }; diff --git a/docs/models/operations/getdeploymentresponsebody2.md b/docs/models/operations/getdeploymentresponsebody2.md index 4b4d7bf7..abe6baf7 100644 --- a/docs/models/operations/getdeploymentresponsebody2.md +++ b/docs/models/operations/getdeploymentresponsebody2.md @@ -9,27 +9,27 @@ import { GetDeploymentResponseBody2 } from "@vercel/sdk/models/operations/getdep let value: GetDeploymentResponseBody2 = { aliasAssigned: false, - bootedAt: 1081.66, - buildingAt: 3923.19, + bootedAt: 5063.43, + buildingAt: 3498.98, buildSkipped: false, creator: { uid: "", }, public: false, - status: "BUILDING", + status: "READY", id: "", type: "LAMBDAS", - createdAt: 6837.26, + createdAt: 245.77, name: "", - readyState: "QUEUED", + readyState: "INITIALIZING", meta: { "key": "", }, regions: [ "", ], - url: "https://flawed-lace.info/", - version: 7064.11, + url: "https://filthy-self-confidence.org/", + version: 3165.50, }; ``` diff --git a/docs/models/operations/getdeploymentresponsebodychecksconclusion.md b/docs/models/operations/getdeploymentresponsebodychecksconclusion.md index b75ddeea..5f558a7b 100644 --- a/docs/models/operations/getdeploymentresponsebodychecksconclusion.md +++ b/docs/models/operations/getdeploymentresponsebodychecksconclusion.md @@ -5,7 +5,7 @@ ```typescript import { GetDeploymentResponseBodyChecksConclusion } from "@vercel/sdk/models/operations/getdeployment.js"; -let value: GetDeploymentResponseBodyChecksConclusion = "failed"; +let value: GetDeploymentResponseBodyChecksConclusion = "canceled"; ``` ## Values diff --git a/docs/models/operations/getdeploymentresponsebodychecksstate.md b/docs/models/operations/getdeploymentresponsebodychecksstate.md index 6e2359f7..f01cfecb 100644 --- a/docs/models/operations/getdeploymentresponsebodychecksstate.md +++ b/docs/models/operations/getdeploymentresponsebodychecksstate.md @@ -5,7 +5,7 @@ ```typescript import { GetDeploymentResponseBodyChecksState } from "@vercel/sdk/models/operations/getdeployment.js"; -let value: GetDeploymentResponseBodyChecksState = "registered"; +let value: GetDeploymentResponseBodyChecksState = "completed"; ``` ## Values diff --git a/docs/models/operations/getdeploymentresponsebodydeploymentsreadystate.md b/docs/models/operations/getdeploymentresponsebodydeploymentsreadystate.md index 5489737b..2453ec0b 100644 --- a/docs/models/operations/getdeploymentresponsebodydeploymentsreadystate.md +++ b/docs/models/operations/getdeploymentresponsebodydeploymentsreadystate.md @@ -5,7 +5,7 @@ ```typescript import { GetDeploymentResponseBodyDeploymentsReadyState } from "@vercel/sdk/models/operations/getdeployment.js"; -let value: GetDeploymentResponseBodyDeploymentsReadyState = "ERROR"; +let value: GetDeploymentResponseBodyDeploymentsReadyState = "INITIALIZING"; ``` ## Values diff --git a/docs/models/operations/getdeploymentresponsebodydeploymentsresponsereadystate.md b/docs/models/operations/getdeploymentresponsebodydeploymentsresponsereadystate.md index 3b7345d3..a07f7184 100644 --- a/docs/models/operations/getdeploymentresponsebodydeploymentsresponsereadystate.md +++ b/docs/models/operations/getdeploymentresponsebodydeploymentsresponsereadystate.md @@ -5,7 +5,7 @@ ```typescript import { GetDeploymentResponseBodyDeploymentsResponseReadyState } from "@vercel/sdk/models/operations/getdeployment.js"; -let value: GetDeploymentResponseBodyDeploymentsResponseReadyState = "READY"; +let value: GetDeploymentResponseBodyDeploymentsResponseReadyState = "ERROR"; ``` ## Values diff --git a/docs/models/operations/getdeploymentresponsebodydeploymentsstatus.md b/docs/models/operations/getdeploymentresponsebodydeploymentsstatus.md index 1cd04fb5..a07609fb 100644 --- a/docs/models/operations/getdeploymentresponsebodydeploymentsstatus.md +++ b/docs/models/operations/getdeploymentresponsebodydeploymentsstatus.md @@ -5,7 +5,7 @@ ```typescript import { GetDeploymentResponseBodyDeploymentsStatus } from "@vercel/sdk/models/operations/getdeployment.js"; -let value: GetDeploymentResponseBodyDeploymentsStatus = "skipped"; +let value: GetDeploymentResponseBodyDeploymentsStatus = "ready"; ``` ## Values diff --git a/docs/models/operations/getdeploymentresponsebodygitsource.md b/docs/models/operations/getdeploymentresponsebodygitsource.md index 8bbcea8f..6af91267 100644 --- a/docs/models/operations/getdeploymentresponsebodygitsource.md +++ b/docs/models/operations/getdeploymentresponsebodygitsource.md @@ -8,7 +8,7 @@ ```typescript const value: operations.GetDeploymentGitSourceDeployments1 = { type: "github", - repoId: 9838.54, + repoId: 9253.95, }; ``` @@ -27,7 +27,7 @@ const value: operations.GetDeploymentGitSourceDeployments2 = { ```typescript const value: operations.GetDeploymentGitSourceDeployments3 = { type: "gitlab", - projectId: 3895.49, + projectId: 4230.54, }; ``` @@ -57,7 +57,7 @@ const value: operations.GetDeploymentGitSourceDeployments6 = { type: "custom", ref: "", sha: "", - gitUrl: "https://wealthy-chairperson.net/", + gitUrl: "https://hidden-printer.name/", }; ``` @@ -68,7 +68,7 @@ const value: operations.GetDeploymentGitSourceDeployments7 = { type: "github", ref: "", sha: "", - repoId: 9253.95, + repoId: 9279.76, }; ``` @@ -79,7 +79,7 @@ const value: operations.GetDeploymentGitSourceDeployments8 = { type: "gitlab", ref: "", sha: "", - projectId: 6646.66, + projectId: 8668.61, }; ``` diff --git a/docs/models/operations/getdeploymentresponsebodylambdas.md b/docs/models/operations/getdeploymentresponsebodylambdas.md index 65e7ee6c..420404f5 100644 --- a/docs/models/operations/getdeploymentresponsebodylambdas.md +++ b/docs/models/operations/getdeploymentresponsebodylambdas.md @@ -10,7 +10,7 @@ import { GetDeploymentResponseBodyLambdas } from "@vercel/sdk/models/operations/ let value: GetDeploymentResponseBodyLambdas = { output: [ { - path: "/usr/obj", + path: "/etc/defaults", functionName: "", }, ], diff --git a/docs/models/operations/getdeploymentresponsebodyoutput.md b/docs/models/operations/getdeploymentresponsebodyoutput.md index ba93b92a..9a82d3ae 100644 --- a/docs/models/operations/getdeploymentresponsebodyoutput.md +++ b/docs/models/operations/getdeploymentresponsebodyoutput.md @@ -6,7 +6,7 @@ import { GetDeploymentResponseBodyOutput } from "@vercel/sdk/models/operations/getdeployment.js"; let value: GetDeploymentResponseBodyOutput = { - path: "/opt/share", + path: "/boot", functionName: "", }; ``` diff --git a/docs/models/operations/getdeploymentresponsebodyreadystate.md b/docs/models/operations/getdeploymentresponsebodyreadystate.md index 3acbb2ca..3c015350 100644 --- a/docs/models/operations/getdeploymentresponsebodyreadystate.md +++ b/docs/models/operations/getdeploymentresponsebodyreadystate.md @@ -5,7 +5,7 @@ ```typescript import { GetDeploymentResponseBodyReadyState } from "@vercel/sdk/models/operations/getdeployment.js"; -let value: GetDeploymentResponseBodyReadyState = "ERROR"; +let value: GetDeploymentResponseBodyReadyState = "INITIALIZING"; ``` ## Values diff --git a/docs/models/operations/getdeploymentresponsebodyreadysubstate.md b/docs/models/operations/getdeploymentresponsebodyreadysubstate.md index 12ca979b..4957e78f 100644 --- a/docs/models/operations/getdeploymentresponsebodyreadysubstate.md +++ b/docs/models/operations/getdeploymentresponsebodyreadysubstate.md @@ -7,7 +7,7 @@ Since June 2023 Substate of deployment when readyState is 'READY' Tracks whether ```typescript import { GetDeploymentResponseBodyReadySubstate } from "@vercel/sdk/models/operations/getdeployment.js"; -let value: GetDeploymentResponseBodyReadySubstate = "PROMOTED"; +let value: GetDeploymentResponseBodyReadySubstate = "STAGED"; ``` ## Values diff --git a/docs/models/operations/getdeploymentresponsebodysource.md b/docs/models/operations/getdeploymentresponsebodysource.md index f4e9deb9..99598065 100644 --- a/docs/models/operations/getdeploymentresponsebodysource.md +++ b/docs/models/operations/getdeploymentresponsebodysource.md @@ -5,7 +5,7 @@ ```typescript import { GetDeploymentResponseBodySource } from "@vercel/sdk/models/operations/getdeployment.js"; -let value: GetDeploymentResponseBodySource = "clone/repo"; +let value: GetDeploymentResponseBodySource = "git"; ``` ## Values diff --git a/docs/models/operations/getdeploymentresponsebodystatus.md b/docs/models/operations/getdeploymentresponsebodystatus.md index 725fbc7a..129b012e 100644 --- a/docs/models/operations/getdeploymentresponsebodystatus.md +++ b/docs/models/operations/getdeploymentresponsebodystatus.md @@ -5,7 +5,7 @@ ```typescript import { GetDeploymentResponseBodyStatus } from "@vercel/sdk/models/operations/getdeployment.js"; -let value: GetDeploymentResponseBodyStatus = "ERROR"; +let value: GetDeploymentResponseBodyStatus = "READY"; ``` ## Values diff --git a/docs/models/operations/getdeploymentresponsebodytarget.md b/docs/models/operations/getdeploymentresponsebodytarget.md index e8aa62ed..f3ce3d93 100644 --- a/docs/models/operations/getdeploymentresponsebodytarget.md +++ b/docs/models/operations/getdeploymentresponsebodytarget.md @@ -5,7 +5,7 @@ ```typescript import { GetDeploymentResponseBodyTarget } from "@vercel/sdk/models/operations/getdeployment.js"; -let value: GetDeploymentResponseBodyTarget = "production"; +let value: GetDeploymentResponseBodyTarget = "staging"; ``` ## Values diff --git a/docs/models/operations/getdeploymentroutes2.md b/docs/models/operations/getdeploymentroutes2.md index 913a3105..0acfcf8b 100644 --- a/docs/models/operations/getdeploymentroutes2.md +++ b/docs/models/operations/getdeploymentroutes2.md @@ -6,7 +6,7 @@ import { GetDeploymentRoutes2 } from "@vercel/sdk/models/operations/getdeployment.js"; let value: GetDeploymentRoutes2 = { - handle: "rewrite", + handle: "filesystem", }; ``` diff --git a/docs/models/operations/getdeploymentroutes3.md b/docs/models/operations/getdeploymentroutes3.md index 0d68d87a..34db2ad7 100644 --- a/docs/models/operations/getdeploymentroutes3.md +++ b/docs/models/operations/getdeploymentroutes3.md @@ -8,7 +8,7 @@ import { GetDeploymentRoutes3 } from "@vercel/sdk/models/operations/getdeploymen let value: GetDeploymentRoutes3 = { src: "", continue: false, - middleware: 9279.76, + middleware: 5604.51, }; ``` diff --git a/docs/models/operations/getdeploymentrouteshandle.md b/docs/models/operations/getdeploymentrouteshandle.md index 96774149..19cafd73 100644 --- a/docs/models/operations/getdeploymentrouteshandle.md +++ b/docs/models/operations/getdeploymentrouteshandle.md @@ -5,7 +5,7 @@ ```typescript import { GetDeploymentRoutesHandle } from "@vercel/sdk/models/operations/getdeployment.js"; -let value: GetDeploymentRoutesHandle = "resource"; +let value: GetDeploymentRoutesHandle = "rewrite"; ``` ## Values diff --git a/docs/models/operations/getdeploymentrouteshas.md b/docs/models/operations/getdeploymentrouteshas.md index f4490358..ac354aea 100644 --- a/docs/models/operations/getdeploymentrouteshas.md +++ b/docs/models/operations/getdeploymentrouteshas.md @@ -16,7 +16,7 @@ const value: operations.GetDeploymentHas1 = { ```typescript const value: operations.GetDeploymentHas2 = { - type: "cookie", + type: "header", key: "", }; ``` diff --git a/docs/models/operations/getdeploymentsaliasassigned.md b/docs/models/operations/getdeploymentsaliasassigned.md index 1c0d80be..e96b9b49 100644 --- a/docs/models/operations/getdeploymentsaliasassigned.md +++ b/docs/models/operations/getdeploymentsaliasassigned.md @@ -6,7 +6,7 @@ ### `number` ```typescript -const value: number = 2913.89; +const value: number = 5314.94; ``` ### `boolean` diff --git a/docs/models/operations/getdeploymentschecksconclusion.md b/docs/models/operations/getdeploymentschecksconclusion.md index b73eeb31..105ad6c6 100644 --- a/docs/models/operations/getdeploymentschecksconclusion.md +++ b/docs/models/operations/getdeploymentschecksconclusion.md @@ -7,7 +7,7 @@ Conclusion for checks ```typescript import { GetDeploymentsChecksConclusion } from "@vercel/sdk/models/operations/getdeployments.js"; -let value: GetDeploymentsChecksConclusion = "skipped"; +let value: GetDeploymentsChecksConclusion = "failed"; ``` ## Values diff --git a/docs/models/operations/getdeploymentschecksstate.md b/docs/models/operations/getdeploymentschecksstate.md index 991b206c..18532b1c 100644 --- a/docs/models/operations/getdeploymentschecksstate.md +++ b/docs/models/operations/getdeploymentschecksstate.md @@ -7,7 +7,7 @@ State of all registered checks ```typescript import { GetDeploymentsChecksState } from "@vercel/sdk/models/operations/getdeployments.js"; -let value: GetDeploymentsChecksState = "completed"; +let value: GetDeploymentsChecksState = "running"; ``` ## Values diff --git a/docs/models/operations/getdeploymentsframework.md b/docs/models/operations/getdeploymentsframework.md index 98df415d..fa643ffa 100644 --- a/docs/models/operations/getdeploymentsframework.md +++ b/docs/models/operations/getdeploymentsframework.md @@ -5,7 +5,7 @@ ```typescript import { GetDeploymentsFramework } from "@vercel/sdk/models/operations/getdeployments.js"; -let value: GetDeploymentsFramework = "sanity"; +let value: GetDeploymentsFramework = "angular"; ``` ## Values diff --git a/docs/models/operations/getdeploymentsnodeversion.md b/docs/models/operations/getdeploymentsnodeversion.md index 25228fe6..619caeba 100644 --- a/docs/models/operations/getdeploymentsnodeversion.md +++ b/docs/models/operations/getdeploymentsnodeversion.md @@ -5,7 +5,7 @@ ```typescript import { GetDeploymentsNodeVersion } from "@vercel/sdk/models/operations/getdeployments.js"; -let value: GetDeploymentsNodeVersion = "14.x"; +let value: GetDeploymentsNodeVersion = "12.x"; ``` ## Values diff --git a/docs/models/operations/getdeploymentsreadysubstate.md b/docs/models/operations/getdeploymentsreadysubstate.md index 7b156302..0b694a5c 100644 --- a/docs/models/operations/getdeploymentsreadysubstate.md +++ b/docs/models/operations/getdeploymentsreadysubstate.md @@ -7,7 +7,7 @@ Since June 2023 Substate of deployment when readyState is 'READY' Tracks whether ```typescript import { GetDeploymentsReadySubstate } from "@vercel/sdk/models/operations/getdeployments.js"; -let value: GetDeploymentsReadySubstate = "STAGED"; +let value: GetDeploymentsReadySubstate = "PROMOTED"; ``` ## Values diff --git a/docs/models/operations/getdomaintransferresponsebody.md b/docs/models/operations/getdomaintransferresponsebody.md index 8bd12db5..af009d15 100644 --- a/docs/models/operations/getdomaintransferresponsebody.md +++ b/docs/models/operations/getdomaintransferresponsebody.md @@ -7,9 +7,9 @@ import { GetDomainTransferResponseBody } from "@vercel/sdk/models/operations/get let value: GetDomainTransferResponseBody = { transferable: false, - transferPolicy: "charge-and-renew", + transferPolicy: "no-change", reason: "", - status: "pending_admin", + status: "undef", }; ``` diff --git a/docs/models/operations/getdomaintransferstatus.md b/docs/models/operations/getdomaintransferstatus.md index 371f349a..2f98cd24 100644 --- a/docs/models/operations/getdomaintransferstatus.md +++ b/docs/models/operations/getdomaintransferstatus.md @@ -7,7 +7,7 @@ The current state of an ongoing transfer. `pending_owner`: Awaiting approval by ```typescript import { GetDomainTransferStatus } from "@vercel/sdk/models/operations/getdomaintransfer.js"; -let value: GetDomainTransferStatus = "unknown"; +let value: GetDomainTransferStatus = "pending_admin"; ``` ## Values diff --git a/docs/models/operations/getedgeconfigbackupresponsebody.md b/docs/models/operations/getedgeconfigbackupresponsebody.md index 4ea37950..ab59380b 100644 --- a/docs/models/operations/getedgeconfigbackupresponsebody.md +++ b/docs/models/operations/getedgeconfigbackupresponsebody.md @@ -8,12 +8,12 @@ ```typescript const value: operations.GetEdgeConfigBackupResponseBody1 = { id: "", - lastModified: 4562.23, + lastModified: 1665.42, backup: { digest: "", items: {}, slug: "", - updatedAt: 5961.84, + updatedAt: 8511.98, }, metadata: {}, }; @@ -25,16 +25,16 @@ const value: operations.GetEdgeConfigBackupResponseBody1 = { const value: operations.GetEdgeConfigBackupResponseBody2 = { user: { id: "", - username: "Hildegard.Johnson69", - email: "Rowland92@gmail.com", + username: "Olen_Hodkiewicz", + email: "Alva_Pacocha85@gmail.com", }, id: "", - lastModified: 6143.46, + lastModified: 2441.57, backup: { digest: "", items: {}, slug: "", - updatedAt: 2214.90, + updatedAt: 3390.95, }, metadata: {}, }; diff --git a/docs/models/operations/getedgeconfigbackupresponsebody1.md b/docs/models/operations/getedgeconfigbackupresponsebody1.md index f9b1ba71..28ef1612 100644 --- a/docs/models/operations/getedgeconfigbackupresponsebody1.md +++ b/docs/models/operations/getedgeconfigbackupresponsebody1.md @@ -9,12 +9,12 @@ import { GetEdgeConfigBackupResponseBody1 } from "@vercel/sdk/models/operations/ let value: GetEdgeConfigBackupResponseBody1 = { id: "", - lastModified: 8701.82, + lastModified: 6953.46, backup: { digest: "", items: {}, slug: "", - updatedAt: 5620.66, + updatedAt: 928.51, }, metadata: {}, }; diff --git a/docs/models/operations/getedgeconfigbackupresponsebody2.md b/docs/models/operations/getedgeconfigbackupresponsebody2.md index 2508f503..cb948dfe 100644 --- a/docs/models/operations/getedgeconfigbackupresponsebody2.md +++ b/docs/models/operations/getedgeconfigbackupresponsebody2.md @@ -8,16 +8,16 @@ import { GetEdgeConfigBackupResponseBody2 } from "@vercel/sdk/models/operations/ let value: GetEdgeConfigBackupResponseBody2 = { user: { id: "", - username: "Makenna.Satterfield87", - email: "Dorian67@gmail.com", + username: "Dorian67", + email: "Hassan96@gmail.com", }, id: "", - lastModified: 1853.13, + lastModified: 779.93, backup: { digest: "", items: {}, slug: "", - updatedAt: 4151.25, + updatedAt: 8049.36, }, metadata: {}, }; diff --git a/docs/models/operations/getedgeconfigbackupresponsebodyitems.md b/docs/models/operations/getedgeconfigbackupresponsebodyitems.md index c2d328d1..e243c36b 100644 --- a/docs/models/operations/getedgeconfigbackupresponsebodyitems.md +++ b/docs/models/operations/getedgeconfigbackupresponsebodyitems.md @@ -6,9 +6,9 @@ import { GetEdgeConfigBackupResponseBodyItems } from "@vercel/sdk/models/operations/getedgeconfigbackup.js"; let value: GetEdgeConfigBackupResponseBodyItems = { - updatedAt: 6294.61, - value: {}, - createdAt: 8901.12, + updatedAt: 7780.39, + value: 8756.92, + createdAt: 427.63, }; ``` diff --git a/docs/models/operations/getedgeconfigbackupresponsebodyuser.md b/docs/models/operations/getedgeconfigbackupresponsebodyuser.md index 1b496402..f5092e6e 100644 --- a/docs/models/operations/getedgeconfigbackupresponsebodyuser.md +++ b/docs/models/operations/getedgeconfigbackupresponsebodyuser.md @@ -7,8 +7,8 @@ import { GetEdgeConfigBackupResponseBodyUser } from "@vercel/sdk/models/operatio let value: GetEdgeConfigBackupResponseBodyUser = { id: "", - username: "Pink.Schneider23", - email: "Julius24@gmail.com", + username: "Margarete76", + email: "Jacky_Keebler@yahoo.com", }; ``` diff --git a/docs/models/operations/getedgeconfigbackupsresponsebody.md b/docs/models/operations/getedgeconfigbackupsresponsebody.md index 8752658a..4b341515 100644 --- a/docs/models/operations/getedgeconfigbackupsresponsebody.md +++ b/docs/models/operations/getedgeconfigbackupsresponsebody.md @@ -9,7 +9,7 @@ let value: GetEdgeConfigBackupsResponseBody = { backups: [ { id: "", - lastModified: 4312.58, + lastModified: 8029.75, }, ], pagination: { diff --git a/docs/models/operations/getedgeconfigresponsebody.md b/docs/models/operations/getedgeconfigresponsebody.md index 2c573c01..65563543 100644 --- a/docs/models/operations/getedgeconfigresponsebody.md +++ b/docs/models/operations/getedgeconfigresponsebody.md @@ -8,8 +8,8 @@ The EdgeConfig. import { GetEdgeConfigResponseBody } from "@vercel/sdk/models/operations/getedgeconfig.js"; let value: GetEdgeConfigResponseBody = { - sizeInBytes: 9906.52, - itemCount: 1988.92, + sizeInBytes: 6844.99, + itemCount: 4173.33, }; ``` diff --git a/docs/models/operations/getedgeconfigsresponsebody.md b/docs/models/operations/getedgeconfigsresponsebody.md index 00ff28e0..961f36e9 100644 --- a/docs/models/operations/getedgeconfigsresponsebody.md +++ b/docs/models/operations/getedgeconfigsresponsebody.md @@ -6,8 +6,8 @@ import { GetEdgeConfigsResponseBody } from "@vercel/sdk/models/operations/getedgeconfigs.js"; let value: GetEdgeConfigsResponseBody = { - sizeInBytes: 3730.55, - itemCount: 1968.52, + sizeInBytes: 7137.18, + itemCount: 9154.08, }; ``` diff --git a/docs/models/operations/getedgeconfigtransfer.md b/docs/models/operations/getedgeconfigtransfer.md index 14d49b45..15b60bfc 100644 --- a/docs/models/operations/getedgeconfigtransfer.md +++ b/docs/models/operations/getedgeconfigtransfer.md @@ -9,8 +9,8 @@ import { GetEdgeConfigTransfer } from "@vercel/sdk/models/operations/getedgeconf let value: GetEdgeConfigTransfer = { fromAccountId: "", - startedAt: 3052.67, - doneAt: 9430.62, + startedAt: 6509.14, + doneAt: 8273.13, }; ``` diff --git a/docs/models/operations/getfirewallconfigalgo.md b/docs/models/operations/getfirewallconfigalgo.md index b7d954a6..62d96b61 100644 --- a/docs/models/operations/getfirewallconfigalgo.md +++ b/docs/models/operations/getfirewallconfigalgo.md @@ -5,7 +5,7 @@ ```typescript import { GetFirewallConfigAlgo } from "@vercel/sdk/models/operations/getfirewallconfig.js"; -let value: GetFirewallConfigAlgo = "fixed_window"; +let value: GetFirewallConfigAlgo = "token_bucket"; ``` ## Values diff --git a/docs/models/operations/getfirewallconfigconditiongroup.md b/docs/models/operations/getfirewallconfigconditiongroup.md index fbbb9c1b..df9166fb 100644 --- a/docs/models/operations/getfirewallconfigconditiongroup.md +++ b/docs/models/operations/getfirewallconfigconditiongroup.md @@ -8,8 +8,8 @@ import { GetFirewallConfigConditionGroup } from "@vercel/sdk/models/operations/g let value: GetFirewallConfigConditionGroup = { conditions: [ { - type: "geo_country_region", - op: "gte", + type: "geo_country", + op: "inc", }, ], }; diff --git a/docs/models/operations/getfirewallconfigconditions.md b/docs/models/operations/getfirewallconfigconditions.md index 1c2e871a..52053fa5 100644 --- a/docs/models/operations/getfirewallconfigconditions.md +++ b/docs/models/operations/getfirewallconfigconditions.md @@ -6,8 +6,8 @@ import { GetFirewallConfigConditions } from "@vercel/sdk/models/operations/getfirewallconfig.js"; let value: GetFirewallConfigConditions = { - type: "geo_as_number", - op: "inc", + type: "geo_country_region", + op: "lte", }; ``` diff --git a/docs/models/operations/getfirewallconfigcrs.md b/docs/models/operations/getfirewallconfigcrs.md index 007ea84e..2407634c 100644 --- a/docs/models/operations/getfirewallconfigcrs.md +++ b/docs/models/operations/getfirewallconfigcrs.md @@ -8,7 +8,7 @@ import { GetFirewallConfigCrs } from "@vercel/sdk/models/operations/getfirewallc let value: GetFirewallConfigCrs = { sd: { active: false, - action: "log", + action: "deny", }, ma: { active: false, @@ -16,11 +16,11 @@ let value: GetFirewallConfigCrs = { }, lfi: { active: false, - action: "deny", + action: "log", }, rfi: { active: false, - action: "log", + action: "deny", }, rce: { active: false, @@ -28,15 +28,15 @@ let value: GetFirewallConfigCrs = { }, php: { active: false, - action: "deny", + action: "log", }, gen: { active: false, - action: "log", + action: "deny", }, xss: { active: false, - action: "deny", + action: "log", }, sqli: { active: false, @@ -44,11 +44,11 @@ let value: GetFirewallConfigCrs = { }, sf: { active: false, - action: "deny", + action: "log", }, java: { active: false, - action: "log", + action: "deny", }, }; ``` diff --git a/docs/models/operations/getfirewallconfiggen.md b/docs/models/operations/getfirewallconfiggen.md index 739d3435..ed76c45f 100644 --- a/docs/models/operations/getfirewallconfiggen.md +++ b/docs/models/operations/getfirewallconfiggen.md @@ -7,7 +7,7 @@ import { GetFirewallConfigGen } from "@vercel/sdk/models/operations/getfirewallc let value: GetFirewallConfigGen = { active: false, - action: "deny", + action: "log", }; ``` diff --git a/docs/models/operations/getfirewallconfigips.md b/docs/models/operations/getfirewallconfigips.md index 0ae70319..b7332e40 100644 --- a/docs/models/operations/getfirewallconfigips.md +++ b/docs/models/operations/getfirewallconfigips.md @@ -7,9 +7,9 @@ import { GetFirewallConfigIps } from "@vercel/sdk/models/operations/getfirewallc let value: GetFirewallConfigIps = { id: "", - hostname: "well-to-do-longboat.name", - ip: "6664:dca8:e4c1:4dec:dfaa:c2fb:3f7d:db2c", - action: "log", + hostname: "tiny-independence.info", + ip: "4c14:decd:faac:2fb3:f7dd:b2c7:fdc7:afba", + action: "deny", }; ``` diff --git a/docs/models/operations/getfirewallconfiglfi.md b/docs/models/operations/getfirewallconfiglfi.md index 2c71217e..5120edbc 100644 --- a/docs/models/operations/getfirewallconfiglfi.md +++ b/docs/models/operations/getfirewallconfiglfi.md @@ -7,7 +7,7 @@ import { GetFirewallConfigLfi } from "@vercel/sdk/models/operations/getfirewallc let value: GetFirewallConfigLfi = { active: false, - action: "log", + action: "deny", }; ``` diff --git a/docs/models/operations/getfirewallconfigmitigate.md b/docs/models/operations/getfirewallconfigmitigate.md index cb311f14..e7856566 100644 --- a/docs/models/operations/getfirewallconfigmitigate.md +++ b/docs/models/operations/getfirewallconfigmitigate.md @@ -6,7 +6,7 @@ import { GetFirewallConfigMitigate } from "@vercel/sdk/models/operations/getfirewallconfig.js"; let value: GetFirewallConfigMitigate = { - action: "rate_limit", + action: "log", }; ``` diff --git a/docs/models/operations/getfirewallconfigop.md b/docs/models/operations/getfirewallconfigop.md index 6b1c0a60..a1fc29fd 100644 --- a/docs/models/operations/getfirewallconfigop.md +++ b/docs/models/operations/getfirewallconfigop.md @@ -5,7 +5,7 @@ ```typescript import { GetFirewallConfigOp } from "@vercel/sdk/models/operations/getfirewallconfig.js"; -let value: GetFirewallConfigOp = "ex"; +let value: GetFirewallConfigOp = "pre"; ``` ## Values diff --git a/docs/models/operations/getfirewallconfigphp.md b/docs/models/operations/getfirewallconfigphp.md index 065e9257..bfb5aacd 100644 --- a/docs/models/operations/getfirewallconfigphp.md +++ b/docs/models/operations/getfirewallconfigphp.md @@ -7,7 +7,7 @@ import { GetFirewallConfigPhp } from "@vercel/sdk/models/operations/getfirewallc let value: GetFirewallConfigPhp = { active: false, - action: "log", + action: "deny", }; ``` diff --git a/docs/models/operations/getfirewallconfigratelimit.md b/docs/models/operations/getfirewallconfigratelimit.md index a58732fa..f53ddc32 100644 --- a/docs/models/operations/getfirewallconfigratelimit.md +++ b/docs/models/operations/getfirewallconfigratelimit.md @@ -6,9 +6,9 @@ import { GetFirewallConfigRateLimit } from "@vercel/sdk/models/operations/getfirewallconfig.js"; let value: GetFirewallConfigRateLimit = { - algo: "fixed_window", - window: 2579.59, - limit: 7568.33, + algo: "token_bucket", + window: 5006.92, + limit: 2835.58, keys: [ "", ], diff --git a/docs/models/operations/getfirewallconfigresponsebody.md b/docs/models/operations/getfirewallconfigresponsebody.md index a774bf1d..db390a52 100644 --- a/docs/models/operations/getfirewallconfigresponsebody.md +++ b/docs/models/operations/getfirewallconfigresponsebody.md @@ -9,7 +9,7 @@ let value: GetFirewallConfigResponseBody = { ownerId: "", projectKey: "", id: "", - version: 9830.67, + version: 7002.04, updatedAt: "", firewallEnabled: false, crs: { @@ -19,7 +19,7 @@ let value: GetFirewallConfigResponseBody = { }, ma: { active: false, - action: "log", + action: "deny", }, lfi: { active: false, @@ -31,11 +31,11 @@ let value: GetFirewallConfigResponseBody = { }, rce: { active: false, - action: "log", + action: "deny", }, php: { active: false, - action: "log", + action: "deny", }, gen: { active: false, @@ -47,15 +47,15 @@ let value: GetFirewallConfigResponseBody = { }, sqli: { active: false, - action: "log", + action: "deny", }, sf: { active: false, - action: "log", + action: "deny", }, java: { active: false, - action: "deny", + action: "log", }, }, rules: [ @@ -67,8 +67,8 @@ let value: GetFirewallConfigResponseBody = { { conditions: [ { - type: "target_path", - op: "gt", + type: "ja3_digest", + op: "eq", }, ], }, @@ -79,9 +79,9 @@ let value: GetFirewallConfigResponseBody = { ips: [ { id: "", - hostname: "bleak-bonnet.info", - ip: "103.116.249.241", - action: "deny", + hostname: "understated-birdbath.name", + ip: "93.190.108.206", + action: "challenge", }, ], changes: [ diff --git a/docs/models/operations/getfirewallconfigrules.md b/docs/models/operations/getfirewallconfigrules.md index 3d34a8e0..ea612562 100644 --- a/docs/models/operations/getfirewallconfigrules.md +++ b/docs/models/operations/getfirewallconfigrules.md @@ -13,8 +13,8 @@ let value: GetFirewallConfigRules = { { conditions: [ { - type: "geo_country", - op: "inc", + type: "target_path", + op: "ex", }, ], }, diff --git a/docs/models/operations/getfirewallconfigsd.md b/docs/models/operations/getfirewallconfigsd.md index 9cc2b53e..dc219367 100644 --- a/docs/models/operations/getfirewallconfigsd.md +++ b/docs/models/operations/getfirewallconfigsd.md @@ -7,7 +7,7 @@ import { GetFirewallConfigSd } from "@vercel/sdk/models/operations/getfirewallco let value: GetFirewallConfigSd = { active: false, - action: "log", + action: "deny", }; ``` diff --git a/docs/models/operations/getfirewallconfigsecurityresponse200action.md b/docs/models/operations/getfirewallconfigsecurityresponse200action.md index 9fdd0273..fc3a6d63 100644 --- a/docs/models/operations/getfirewallconfigsecurityresponse200action.md +++ b/docs/models/operations/getfirewallconfigsecurityresponse200action.md @@ -5,7 +5,7 @@ ```typescript import { GetFirewallConfigSecurityResponse200Action } from "@vercel/sdk/models/operations/getfirewallconfig.js"; -let value: GetFirewallConfigSecurityResponse200Action = "deny"; +let value: GetFirewallConfigSecurityResponse200Action = "log"; ``` ## Values diff --git a/docs/models/operations/getfirewallconfigsecurityresponse200applicationjsonresponsebodyaction.md b/docs/models/operations/getfirewallconfigsecurityresponse200applicationjsonresponsebodyaction.md index 27d8e8d7..92009a9d 100644 --- a/docs/models/operations/getfirewallconfigsecurityresponse200applicationjsonresponsebodyaction.md +++ b/docs/models/operations/getfirewallconfigsecurityresponse200applicationjsonresponsebodyaction.md @@ -6,8 +6,7 @@ import { GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction } from "@vercel/sdk/models/operations/getfirewallconfig.js"; let value: - GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction = - "deny"; + GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction = "log"; ``` ## Values diff --git a/docs/models/operations/getfirewallconfigsecurityresponse200applicationjsonresponsebodycrsaction.md b/docs/models/operations/getfirewallconfigsecurityresponse200applicationjsonresponsebodycrsaction.md index a5f36add..2f3f0604 100644 --- a/docs/models/operations/getfirewallconfigsecurityresponse200applicationjsonresponsebodycrsaction.md +++ b/docs/models/operations/getfirewallconfigsecurityresponse200applicationjsonresponsebodycrsaction.md @@ -7,7 +7,7 @@ import { GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsActio let value: GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsAction = - "deny"; + "log"; ``` ## Values diff --git a/docs/models/operations/getfirewallconfigsecurityresponse200applicationjsonresponsebodycrsmaaction.md b/docs/models/operations/getfirewallconfigsecurityresponse200applicationjsonresponsebodycrsmaaction.md index 4d2ba4fa..77b7f8a1 100644 --- a/docs/models/operations/getfirewallconfigsecurityresponse200applicationjsonresponsebodycrsmaaction.md +++ b/docs/models/operations/getfirewallconfigsecurityresponse200applicationjsonresponsebodycrsmaaction.md @@ -7,7 +7,7 @@ import { GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsMaAct let value: GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsMaAction = - "deny"; + "log"; ``` ## Values diff --git a/docs/models/operations/getfirewallconfigsecurityresponse200applicationjsonresponsebodycrssfaction.md b/docs/models/operations/getfirewallconfigsecurityresponse200applicationjsonresponsebodycrssfaction.md index 0c7764f0..7620feb2 100644 --- a/docs/models/operations/getfirewallconfigsecurityresponse200applicationjsonresponsebodycrssfaction.md +++ b/docs/models/operations/getfirewallconfigsecurityresponse200applicationjsonresponsebodycrssfaction.md @@ -7,7 +7,7 @@ import { GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSfAct let value: GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSfAction = - "log"; + "deny"; ``` ## Values diff --git a/docs/models/operations/getfirewallconfigsecurityresponse200applicationjsonresponsebodycrssqliaction.md b/docs/models/operations/getfirewallconfigsecurityresponse200applicationjsonresponsebodycrssqliaction.md index 6b474b9e..8a2b023a 100644 --- a/docs/models/operations/getfirewallconfigsecurityresponse200applicationjsonresponsebodycrssqliaction.md +++ b/docs/models/operations/getfirewallconfigsecurityresponse200applicationjsonresponsebodycrssqliaction.md @@ -7,7 +7,7 @@ import { GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSqliA let value: GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSqliAction = - "deny"; + "log"; ``` ## Values diff --git a/docs/models/operations/getfirewallconfigsecurityresponse200applicationjsonresponsebodycrsxssaction.md b/docs/models/operations/getfirewallconfigsecurityresponse200applicationjsonresponsebodycrsxssaction.md index 9dc5bb0c..5d8ad038 100644 --- a/docs/models/operations/getfirewallconfigsecurityresponse200applicationjsonresponsebodycrsxssaction.md +++ b/docs/models/operations/getfirewallconfigsecurityresponse200applicationjsonresponsebodycrsxssaction.md @@ -7,7 +7,7 @@ import { GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsXssAc let value: GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsXssAction = - "deny"; + "log"; ``` ## Values diff --git a/docs/models/operations/getfirewallconfigsecurityresponse200applicationjsonresponsebodyrulesactionaction.md b/docs/models/operations/getfirewallconfigsecurityresponse200applicationjsonresponsebodyrulesactionaction.md index 5835ffec..601a5b64 100644 --- a/docs/models/operations/getfirewallconfigsecurityresponse200applicationjsonresponsebodyrulesactionaction.md +++ b/docs/models/operations/getfirewallconfigsecurityresponse200applicationjsonresponsebodyrulesactionaction.md @@ -7,7 +7,7 @@ import { GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyRulesAct let value: GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyRulesActionAction = - "deny"; + "challenge"; ``` ## Values diff --git a/docs/models/operations/getfirewallconfigsecurityresponseaction.md b/docs/models/operations/getfirewallconfigsecurityresponseaction.md index 626398a1..416a92f1 100644 --- a/docs/models/operations/getfirewallconfigsecurityresponseaction.md +++ b/docs/models/operations/getfirewallconfigsecurityresponseaction.md @@ -5,7 +5,7 @@ ```typescript import { GetFirewallConfigSecurityResponseAction } from "@vercel/sdk/models/operations/getfirewallconfig.js"; -let value: GetFirewallConfigSecurityResponseAction = "log"; +let value: GetFirewallConfigSecurityResponseAction = "deny"; ``` ## Values diff --git a/docs/models/operations/getfirewallconfigtype.md b/docs/models/operations/getfirewallconfigtype.md index 3e20cf08..35e7ad98 100644 --- a/docs/models/operations/getfirewallconfigtype.md +++ b/docs/models/operations/getfirewallconfigtype.md @@ -5,7 +5,7 @@ ```typescript import { GetFirewallConfigType } from "@vercel/sdk/models/operations/getfirewallconfig.js"; -let value: GetFirewallConfigType = "geo_country_region"; +let value: GetFirewallConfigType = "header"; ``` ## Values diff --git a/docs/models/operations/getfirewallconfigvalue.md b/docs/models/operations/getfirewallconfigvalue.md index 7f284a7a..b8086b4e 100644 --- a/docs/models/operations/getfirewallconfigvalue.md +++ b/docs/models/operations/getfirewallconfigvalue.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 6621.74; +const value: number = 2579.59; ``` ### `string[]` diff --git a/docs/models/operations/getfirewallconfigxss.md b/docs/models/operations/getfirewallconfigxss.md index 98683d92..94b08996 100644 --- a/docs/models/operations/getfirewallconfigxss.md +++ b/docs/models/operations/getfirewallconfigxss.md @@ -7,7 +7,7 @@ import { GetFirewallConfigXss } from "@vercel/sdk/models/operations/getfirewallc let value: GetFirewallConfigXss = { active: false, - action: "log", + action: "deny", }; ``` diff --git a/docs/models/operations/getinvoicediscounts.md b/docs/models/operations/getinvoicediscounts.md new file mode 100644 index 00000000..265cdee3 --- /dev/null +++ b/docs/models/operations/getinvoicediscounts.md @@ -0,0 +1,25 @@ +# GetInvoiceDiscounts + +## Example Usage + +```typescript +import { GetInvoiceDiscounts } from "@vercel/sdk/models/operations/getinvoice.js"; + +let value: GetInvoiceDiscounts = { + billingPlanId: "", + name: "", + amount: "502.51", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `billingPlanId` | *string* | :heavy_check_mark: | N/A | +| `resourceId` | *string* | :heavy_minus_sign: | N/A | +| `start` | *string* | :heavy_minus_sign: | N/A | +| `end` | *string* | :heavy_minus_sign: | N/A | +| `name` | *string* | :heavy_check_mark: | N/A | +| `details` | *string* | :heavy_minus_sign: | N/A | +| `amount` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getinvoiceitems.md b/docs/models/operations/getinvoiceitems.md new file mode 100644 index 00000000..40927009 --- /dev/null +++ b/docs/models/operations/getinvoiceitems.md @@ -0,0 +1,31 @@ +# GetInvoiceItems + +## Example Usage + +```typescript +import { GetInvoiceItems } from "@vercel/sdk/models/operations/getinvoice.js"; + +let value: GetInvoiceItems = { + billingPlanId: "", + name: "", + price: "968.29", + quantity: 3258.55, + units: "", + total: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `billingPlanId` | *string* | :heavy_check_mark: | N/A | +| `resourceId` | *string* | :heavy_minus_sign: | N/A | +| `start` | *string* | :heavy_minus_sign: | N/A | +| `end` | *string* | :heavy_minus_sign: | N/A | +| `name` | *string* | :heavy_check_mark: | N/A | +| `details` | *string* | :heavy_minus_sign: | N/A | +| `price` | *string* | :heavy_check_mark: | N/A | +| `quantity` | *number* | :heavy_check_mark: | N/A | +| `units` | *string* | :heavy_check_mark: | N/A | +| `total` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getinvoiceperiod.md b/docs/models/operations/getinvoiceperiod.md new file mode 100644 index 00000000..dbfae3ff --- /dev/null +++ b/docs/models/operations/getinvoiceperiod.md @@ -0,0 +1,19 @@ +# GetInvoicePeriod + +## Example Usage + +```typescript +import { GetInvoicePeriod } from "@vercel/sdk/models/operations/getinvoice.js"; + +let value: GetInvoicePeriod = { + start: "", + end: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `start` | *string* | :heavy_check_mark: | N/A | +| `end` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getinvoicerequest.md b/docs/models/operations/getinvoicerequest.md new file mode 100644 index 00000000..4e383b4b --- /dev/null +++ b/docs/models/operations/getinvoicerequest.md @@ -0,0 +1,19 @@ +# GetInvoiceRequest + +## Example Usage + +```typescript +import { GetInvoiceRequest } from "@vercel/sdk/models/operations/getinvoice.js"; + +let value: GetInvoiceRequest = { + integrationConfigurationId: "", + invoiceId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------- | ---------------------------- | ---------------------------- | ---------------------------- | +| `integrationConfigurationId` | *string* | :heavy_check_mark: | N/A | +| `invoiceId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getinvoiceresponsebody.md b/docs/models/operations/getinvoiceresponsebody.md new file mode 100644 index 00000000..c5d31dfb --- /dev/null +++ b/docs/models/operations/getinvoiceresponsebody.md @@ -0,0 +1,51 @@ +# GetInvoiceResponseBody + +## Example Usage + +```typescript +import { GetInvoiceResponseBody } from "@vercel/sdk/models/operations/getinvoice.js"; + +let value: GetInvoiceResponseBody = { + invoiceId: "", + invoiceDate: "", + period: { + start: "", + end: "", + }, + items: [ + { + billingPlanId: "", + name: "", + price: "559.65", + quantity: 6229.68, + units: "", + total: "", + }, + ], + total: "", + created: "", + updated: "", + state: "refunded", + test: false, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `invoiceId` | *string* | :heavy_check_mark: | N/A | +| `externalId` | *string* | :heavy_minus_sign: | N/A | +| `invoiceNumber` | *string* | :heavy_minus_sign: | N/A | +| `invoiceDate` | *string* | :heavy_check_mark: | N/A | +| `period` | [operations.GetInvoicePeriod](../../models/operations/getinvoiceperiod.md) | :heavy_check_mark: | N/A | +| `memo` | *string* | :heavy_minus_sign: | N/A | +| `items` | [operations.GetInvoiceItems](../../models/operations/getinvoiceitems.md)[] | :heavy_check_mark: | N/A | +| `discounts` | [operations.GetInvoiceDiscounts](../../models/operations/getinvoicediscounts.md)[] | :heavy_minus_sign: | N/A | +| `total` | *string* | :heavy_check_mark: | N/A | +| `created` | *string* | :heavy_check_mark: | N/A | +| `updated` | *string* | :heavy_check_mark: | N/A | +| `state` | [operations.State](../../models/operations/state.md) | :heavy_check_mark: | N/A | +| `refundReason` | *string* | :heavy_minus_sign: | N/A | +| `refundTotal` | *string* | :heavy_minus_sign: | N/A | +| `test` | *boolean* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getmemberrequest.md b/docs/models/operations/getmemberrequest.md new file mode 100644 index 00000000..373e128d --- /dev/null +++ b/docs/models/operations/getmemberrequest.md @@ -0,0 +1,19 @@ +# GetMemberRequest + +## Example Usage + +```typescript +import { GetMemberRequest } from "@vercel/sdk/models/operations/getmember.js"; + +let value: GetMemberRequest = { + integrationConfigurationId: "", + memberId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------- | ---------------------------- | ---------------------------- | ---------------------------- | +| `integrationConfigurationId` | *string* | :heavy_check_mark: | N/A | +| `memberId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getmemberresponsebody.md b/docs/models/operations/getmemberresponsebody.md new file mode 100644 index 00000000..9d4244b4 --- /dev/null +++ b/docs/models/operations/getmemberresponsebody.md @@ -0,0 +1,19 @@ +# GetMemberResponseBody + +## Example Usage + +```typescript +import { GetMemberResponseBody } from "@vercel/sdk/models/operations/getmember.js"; + +let value: GetMemberResponseBody = { + id: "", + role: "ADMIN", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | N/A | +| `role` | [operations.GetMemberRole](../../models/operations/getmemberrole.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getmemberrole.md b/docs/models/operations/getmemberrole.md new file mode 100644 index 00000000..80e4a4c1 --- /dev/null +++ b/docs/models/operations/getmemberrole.md @@ -0,0 +1,15 @@ +# GetMemberRole + +## Example Usage + +```typescript +import { GetMemberRole } from "@vercel/sdk/models/operations/getmember.js"; + +let value: GetMemberRole = "USER"; +``` + +## Values + +```typescript +"ADMIN" | "USER" +``` \ No newline at end of file diff --git a/docs/models/operations/getprojectdomainsdomains.md b/docs/models/operations/getprojectdomainsdomains.md new file mode 100644 index 00000000..aa99f036 --- /dev/null +++ b/docs/models/operations/getprojectdomainsdomains.md @@ -0,0 +1,30 @@ +# GetProjectDomainsDomains + +## Example Usage + +```typescript +import { GetProjectDomainsDomains } from "@vercel/sdk/models/operations/getprojectdomains.js"; + +let value: GetProjectDomainsDomains = { + name: "", + apexName: "", + projectId: "", + verified: false, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `name` | *string* | :heavy_check_mark: | N/A | +| `apexName` | *string* | :heavy_check_mark: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `redirect` | *string* | :heavy_minus_sign: | N/A | +| `redirectStatusCode` | *number* | :heavy_minus_sign: | N/A | +| `gitBranch` | *string* | :heavy_minus_sign: | N/A | +| `customEnvironmentId` | *string* | :heavy_minus_sign: | N/A | +| `updatedAt` | *number* | :heavy_minus_sign: | N/A | +| `createdAt` | *number* | :heavy_minus_sign: | N/A | +| `verified` | *boolean* | :heavy_check_mark: | `true` if the domain is verified for use with the project. If `false` it will not be used as an alias on this project until the challenge in `verification` is completed. | +| `verification` | [operations.GetProjectDomainsVerification](../../models/operations/getprojectdomainsverification.md)[] | :heavy_minus_sign: | A list of verification challenges, one of which must be completed to verify the domain for use on the project. After the challenge is complete `POST /projects/:idOrName/domains/:domain/verify` to verify the domain. Possible challenges: - If `verification.type = TXT` the `verification.domain` will be checked for a TXT record matching `verification.value`. | \ No newline at end of file diff --git a/docs/models/operations/getprojectdomainsrequest.md b/docs/models/operations/getprojectdomainsrequest.md new file mode 100644 index 00000000..dbc675a6 --- /dev/null +++ b/docs/models/operations/getprojectdomainsrequest.md @@ -0,0 +1,33 @@ +# GetProjectDomainsRequest + +## Example Usage + +```typescript +import { GetProjectDomainsRequest } from "@vercel/sdk/models/operations/getprojectdomains.js"; + +let value: GetProjectDomainsRequest = { + idOrName: "", + redirect: "example.com", + limit: 20, + since: 1609499532000, + until: 1612264332000, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | +| `idOrName` | *string* | :heavy_check_mark: | The unique project identifier or the project name | | +| `production` | [operations.Production](../../models/operations/production.md) | :heavy_minus_sign: | Filters only production domains when set to `true`. | | +| `target` | [operations.QueryParamTarget](../../models/operations/queryparamtarget.md) | :heavy_minus_sign: | Filters on the target of the domain. Can be either \"production\", \"preview\" | | +| `gitBranch` | *string* | :heavy_minus_sign: | Filters domains based on specific branch. | | +| `redirects` | [operations.Redirects](../../models/operations/redirects.md) | :heavy_minus_sign: | Excludes redirect project domains when \"false\". Includes redirect project domains when \"true\" (default). | | +| `redirect` | *string* | :heavy_minus_sign: | Filters domains based on their redirect target. | example.com | +| `verified` | [operations.Verified](../../models/operations/verified.md) | :heavy_minus_sign: | Filters domains based on their verification status. | | +| `limit` | *number* | :heavy_minus_sign: | Maximum number of domains to list from a request (max 100). | 20 | +| `since` | *number* | :heavy_minus_sign: | Get domains created after this JavaScript timestamp. | 1609499532000 | +| `until` | *number* | :heavy_minus_sign: | Get domains created before this JavaScript timestamp. | 1612264332000 | +| `order` | [operations.Order](../../models/operations/order.md) | :heavy_minus_sign: | Domains sort order by createdAt | | +| `teamId` | *string* | :heavy_minus_sign: | The Team identifier to perform the request on behalf of. | | +| `slug` | *string* | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | | \ No newline at end of file diff --git a/docs/models/operations/getprojectdomainsresponsebody.md b/docs/models/operations/getprojectdomainsresponsebody.md new file mode 100644 index 00000000..2b183c7d --- /dev/null +++ b/docs/models/operations/getprojectdomainsresponsebody.md @@ -0,0 +1,32 @@ +# GetProjectDomainsResponseBody + +Successful response retrieving a list of domains + +## Example Usage + +```typescript +import { GetProjectDomainsResponseBody } from "@vercel/sdk/models/operations/getprojectdomains.js"; + +let value: GetProjectDomainsResponseBody = { + domains: [ + { + name: "", + apexName: "", + projectId: "", + verified: false, + }, + ], + pagination: { + count: 20, + next: 1540095775951, + prev: 1540095775951, + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `domains` | [operations.GetProjectDomainsDomains](../../models/operations/getprojectdomainsdomains.md)[] | :heavy_check_mark: | N/A | +| `pagination` | [components.Pagination](../../models/components/pagination.md) | :heavy_check_mark: | This object contains information related to the pagination of the current request, including the necessary parameters to get the next or previous page of data. | \ No newline at end of file diff --git a/docs/models/operations/getprojectdomainsverification.md b/docs/models/operations/getprojectdomainsverification.md new file mode 100644 index 00000000..54cd7d85 --- /dev/null +++ b/docs/models/operations/getprojectdomainsverification.md @@ -0,0 +1,25 @@ +# GetProjectDomainsVerification + +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`. + +## Example Usage + +```typescript +import { GetProjectDomainsVerification } from "@vercel/sdk/models/operations/getprojectdomains.js"; + +let value: GetProjectDomainsVerification = { + type: "", + domain: "oval-resource.biz", + value: "", + reason: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `type` | *string* | :heavy_check_mark: | N/A | +| `domain` | *string* | :heavy_check_mark: | N/A | +| `value` | *string* | :heavy_check_mark: | N/A | +| `reason` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/getprojectenvresponsebody.md b/docs/models/operations/getprojectenvresponsebody.md index ea8f5bc0..456d449d 100644 --- a/docs/models/operations/getprojectenvresponsebody.md +++ b/docs/models/operations/getprojectenvresponsebody.md @@ -8,7 +8,7 @@ ```typescript const value: operations.GetProjectEnvResponseBody1 = { decrypted: false, - type: "secret", + type: "system", key: "", }; ``` @@ -17,7 +17,7 @@ const value: operations.GetProjectEnvResponseBody1 = { ```typescript const value: operations.GetProjectEnvResponseBody2 = { - type: "encrypted", + type: "system", key: "", value: "", }; @@ -27,7 +27,7 @@ const value: operations.GetProjectEnvResponseBody2 = { ```typescript const value: operations.GetProjectEnvResponseBody3 = { - type: "encrypted", + type: "plain", key: "", value: "", }; diff --git a/docs/models/operations/getprojectenvresponsebody1.md b/docs/models/operations/getprojectenvresponsebody1.md index 8a397d34..f69b3e2a 100644 --- a/docs/models/operations/getprojectenvresponsebody1.md +++ b/docs/models/operations/getprojectenvresponsebody1.md @@ -7,7 +7,7 @@ import { GetProjectEnvResponseBody1 } from "@vercel/sdk/models/operations/getpro let value: GetProjectEnvResponseBody1 = { decrypted: false, - type: "encrypted", + type: "plain", key: "", }; ``` diff --git a/docs/models/operations/getprojectenvresponsebody2.md b/docs/models/operations/getprojectenvresponsebody2.md index 0aeb11a0..32b5458f 100644 --- a/docs/models/operations/getprojectenvresponsebody2.md +++ b/docs/models/operations/getprojectenvresponsebody2.md @@ -6,7 +6,7 @@ import { GetProjectEnvResponseBody2 } from "@vercel/sdk/models/operations/getprojectenv.js"; let value: GetProjectEnvResponseBody2 = { - type: "secret", + type: "encrypted", key: "", value: "", }; diff --git a/docs/models/operations/getprojectenvresponsebody3.md b/docs/models/operations/getprojectenvresponsebody3.md index e2eee51a..e37b3301 100644 --- a/docs/models/operations/getprojectenvresponsebody3.md +++ b/docs/models/operations/getprojectenvresponsebody3.md @@ -6,7 +6,7 @@ import { GetProjectEnvResponseBody3 } from "@vercel/sdk/models/operations/getprojectenv.js"; let value: GetProjectEnvResponseBody3 = { - type: "encrypted", + type: "secret", key: "", value: "", }; diff --git a/docs/models/operations/getprojectenvresponsebodyprojectsresponsetarget.md b/docs/models/operations/getprojectenvresponsebodyprojectsresponsetarget.md index 5af87c7f..e451b929 100644 --- a/docs/models/operations/getprojectenvresponsebodyprojectsresponsetarget.md +++ b/docs/models/operations/getprojectenvresponsebodyprojectsresponsetarget.md @@ -14,6 +14,6 @@ const value: string[] = [ ### `operations.GetProjectEnvTargetProjectsResponse2` ```typescript -const value: operations.GetProjectEnvTargetProjectsResponse2 = "preview"; +const value: operations.GetProjectEnvTargetProjectsResponse2 = "development"; ``` diff --git a/docs/models/operations/getprojectenvresponsebodyprojectsresponsetype.md b/docs/models/operations/getprojectenvresponsebodyprojectsresponsetype.md index 60f2bda2..35dd7361 100644 --- a/docs/models/operations/getprojectenvresponsebodyprojectsresponsetype.md +++ b/docs/models/operations/getprojectenvresponsebodyprojectsresponsetype.md @@ -5,7 +5,7 @@ ```typescript import { GetProjectEnvResponseBodyProjectsResponseType } from "@vercel/sdk/models/operations/getprojectenv.js"; -let value: GetProjectEnvResponseBodyProjectsResponseType = "system"; +let value: GetProjectEnvResponseBodyProjectsResponseType = "plain"; ``` ## Values diff --git a/docs/models/operations/getprojectenvresponsebodyprojectstarget.md b/docs/models/operations/getprojectenvresponsebodyprojectstarget.md index a1067a51..73b3699c 100644 --- a/docs/models/operations/getprojectenvresponsebodyprojectstarget.md +++ b/docs/models/operations/getprojectenvresponsebodyprojectstarget.md @@ -7,13 +7,13 @@ ```typescript const value: operations.GetProjectEnvTargetProjects1[] = [ - "production", + "preview", ]; ``` ### `operations.GetProjectEnvTargetProjects2` ```typescript -const value: operations.GetProjectEnvTargetProjects2 = "preview"; +const value: operations.GetProjectEnvTargetProjects2 = "production"; ``` diff --git a/docs/models/operations/getprojectenvresponsebodyprojectstype.md b/docs/models/operations/getprojectenvresponsebodyprojectstype.md index c2d99599..d161caf5 100644 --- a/docs/models/operations/getprojectenvresponsebodyprojectstype.md +++ b/docs/models/operations/getprojectenvresponsebodyprojectstype.md @@ -5,7 +5,7 @@ ```typescript import { GetProjectEnvResponseBodyProjectsType } from "@vercel/sdk/models/operations/getprojectenv.js"; -let value: GetProjectEnvResponseBodyProjectsType = "sensitive"; +let value: GetProjectEnvResponseBodyProjectsType = "secret"; ``` ## Values diff --git a/docs/models/operations/getprojectenvresponsebodytarget.md b/docs/models/operations/getprojectenvresponsebodytarget.md index b7b5815d..19f68eaf 100644 --- a/docs/models/operations/getprojectenvresponsebodytarget.md +++ b/docs/models/operations/getprojectenvresponsebodytarget.md @@ -7,13 +7,13 @@ ```typescript const value: operations.GetProjectEnvTarget1[] = [ - "production", + "development", ]; ``` ### `operations.GetProjectEnvTarget2` ```typescript -const value: operations.GetProjectEnvTarget2 = "production"; +const value: operations.GetProjectEnvTarget2 = "preview"; ``` diff --git a/docs/models/operations/getprojectenvresponsebodytype.md b/docs/models/operations/getprojectenvresponsebodytype.md index acaeb2f4..41e80516 100644 --- a/docs/models/operations/getprojectenvresponsebodytype.md +++ b/docs/models/operations/getprojectenvresponsebodytype.md @@ -5,7 +5,7 @@ ```typescript import { GetProjectEnvResponseBodyType } from "@vercel/sdk/models/operations/getprojectenv.js"; -let value: GetProjectEnvResponseBodyType = "plain"; +let value: GetProjectEnvResponseBodyType = "sensitive"; ``` ## Values diff --git a/docs/models/operations/getprojectenvtarget2.md b/docs/models/operations/getprojectenvtarget2.md index f55c2758..180242e0 100644 --- a/docs/models/operations/getprojectenvtarget2.md +++ b/docs/models/operations/getprojectenvtarget2.md @@ -5,7 +5,7 @@ ```typescript import { GetProjectEnvTarget2 } from "@vercel/sdk/models/operations/getprojectenv.js"; -let value: GetProjectEnvTarget2 = "preview"; +let value: GetProjectEnvTarget2 = "production"; ``` ## Values diff --git a/docs/models/operations/getprojectenvtargetprojects1.md b/docs/models/operations/getprojectenvtargetprojects1.md index d5c9fa37..7696a3aa 100644 --- a/docs/models/operations/getprojectenvtargetprojects1.md +++ b/docs/models/operations/getprojectenvtargetprojects1.md @@ -5,7 +5,7 @@ ```typescript import { GetProjectEnvTargetProjects1 } from "@vercel/sdk/models/operations/getprojectenv.js"; -let value: GetProjectEnvTargetProjects1 = "development"; +let value: GetProjectEnvTargetProjects1 = "production"; ``` ## Values diff --git a/docs/models/operations/getprojectenvtargetprojects2.md b/docs/models/operations/getprojectenvtargetprojects2.md index c5f829d9..3818b8d0 100644 --- a/docs/models/operations/getprojectenvtargetprojects2.md +++ b/docs/models/operations/getprojectenvtargetprojects2.md @@ -5,7 +5,7 @@ ```typescript import { GetProjectEnvTargetProjects2 } from "@vercel/sdk/models/operations/getprojectenv.js"; -let value: GetProjectEnvTargetProjects2 = "preview"; +let value: GetProjectEnvTargetProjects2 = "production"; ``` ## Values diff --git a/docs/models/operations/getprojectenvtargetprojectsresponse2.md b/docs/models/operations/getprojectenvtargetprojectsresponse2.md index 4140aeb5..baaa766e 100644 --- a/docs/models/operations/getprojectenvtargetprojectsresponse2.md +++ b/docs/models/operations/getprojectenvtargetprojectsresponse2.md @@ -5,7 +5,7 @@ ```typescript import { GetProjectEnvTargetProjectsResponse2 } from "@vercel/sdk/models/operations/getprojectenv.js"; -let value: GetProjectEnvTargetProjectsResponse2 = "production"; +let value: GetProjectEnvTargetProjectsResponse2 = "preview"; ``` ## Values diff --git a/docs/models/operations/getprojectspermissions.md b/docs/models/operations/getprojectspermissions.md index fc0daa1b..00292da0 100644 --- a/docs/models/operations/getprojectspermissions.md +++ b/docs/models/operations/getprojectspermissions.md @@ -83,6 +83,7 @@ let value: GetProjectsPermissions = {}; | `notificationCustomerBudget` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | | `notificationStatementOfReasons` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | | `oauth2Connection` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `observabilityConfiguration` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | | `openTelemetryEndpoint` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | | `paymentMethod` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | | `permissions` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | @@ -157,6 +158,7 @@ let value: GetProjectsPermissions = {}; | `passwordProtection` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | | `optionsAllowlist` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | | `job` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `observabilityData` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | | `project` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | | `projectFromV0` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | | `projectAccessGroup` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | diff --git a/docs/models/operations/getrecordsresponsebody.md b/docs/models/operations/getrecordsresponsebody.md index 7453d617..0ab01073 100644 --- a/docs/models/operations/getrecordsresponsebody.md +++ b/docs/models/operations/getrecordsresponsebody.md @@ -20,13 +20,13 @@ const value: operations.GetRecordsResponseBody2 = { id: "", slug: "", name: "", - type: "HTTPS", + type: "TXT", value: "", creator: "", - created: 4283.79, - updated: 9231.59, - createdAt: 1050.95, - updatedAt: 9825.74, + created: 738.26, + updated: 4909.66, + createdAt: 7175.60, + updatedAt: 7381.52, }, ], }; @@ -41,13 +41,13 @@ const value: operations.ResponseBody3 = { id: "", slug: "", name: "", - type: "TXT", + type: "NS", value: "", creator: "", - created: 738.26, - updated: 4909.66, - createdAt: 7175.60, - updatedAt: 7381.52, + created: 7998.65, + updated: 3109.30, + createdAt: 4984.35, + updatedAt: 7017.86, }, ], pagination: { diff --git a/docs/models/operations/getrecordsresponsebody2.md b/docs/models/operations/getrecordsresponsebody2.md index 9402fef8..b66cf373 100644 --- a/docs/models/operations/getrecordsresponsebody2.md +++ b/docs/models/operations/getrecordsresponsebody2.md @@ -14,10 +14,10 @@ let value: GetRecordsResponseBody2 = { type: "HTTPS", value: "", creator: "", - created: 7416.03, - updated: 7705.44, - createdAt: 9082.48, - updatedAt: 1503.50, + created: 4283.79, + updated: 9231.59, + createdAt: 1050.95, + updatedAt: 9825.74, }, ], }; diff --git a/docs/models/operations/getrecordsresponsebodydnstype.md b/docs/models/operations/getrecordsresponsebodydnstype.md index add134c3..cc7b21a0 100644 --- a/docs/models/operations/getrecordsresponsebodydnstype.md +++ b/docs/models/operations/getrecordsresponsebodydnstype.md @@ -5,7 +5,7 @@ ```typescript import { GetRecordsResponseBodyDnsType } from "@vercel/sdk/models/operations/getrecords.js"; -let value: GetRecordsResponseBodyDnsType = "MX"; +let value: GetRecordsResponseBodyDnsType = "A"; ``` ## Values diff --git a/docs/models/operations/getrecordsresponsebodytype.md b/docs/models/operations/getrecordsresponsebodytype.md index e1442ea8..5527087c 100644 --- a/docs/models/operations/getrecordsresponsebodytype.md +++ b/docs/models/operations/getrecordsresponsebodytype.md @@ -5,7 +5,7 @@ ```typescript import { GetRecordsResponseBodyType } from "@vercel/sdk/models/operations/getrecords.js"; -let value: GetRecordsResponseBodyType = "SRV"; +let value: GetRecordsResponseBodyType = "TXT"; ``` ## Values diff --git a/docs/models/operations/getteamaccessrequestgituserid.md b/docs/models/operations/getteamaccessrequestgituserid.md index e4514d8b..69b5a273 100644 --- a/docs/models/operations/getteamaccessrequestgituserid.md +++ b/docs/models/operations/getteamaccessrequestgituserid.md @@ -12,6 +12,6 @@ const value: string = ""; ### `number` ```typescript -const value: number = 7925.55; +const value: number = 7965.12; ``` diff --git a/docs/models/operations/getteamaccessrequestjoinedfrom.md b/docs/models/operations/getteamaccessrequestjoinedfrom.md index 6870e6a3..331b33f0 100644 --- a/docs/models/operations/getteamaccessrequestjoinedfrom.md +++ b/docs/models/operations/getteamaccessrequestjoinedfrom.md @@ -8,7 +8,7 @@ A map that describes the origin from where the user joined. import { GetTeamAccessRequestJoinedFrom } from "@vercel/sdk/models/operations/getteamaccessrequest.js"; let value: GetTeamAccessRequestJoinedFrom = { - origin: "dsync", + origin: "bitbucket", }; ``` diff --git a/docs/models/operations/getteamaccessrequestorigin.md b/docs/models/operations/getteamaccessrequestorigin.md index 95d16c2b..ba2a0407 100644 --- a/docs/models/operations/getteamaccessrequestorigin.md +++ b/docs/models/operations/getteamaccessrequestorigin.md @@ -5,7 +5,7 @@ ```typescript import { GetTeamAccessRequestOrigin } from "@vercel/sdk/models/operations/getteamaccessrequest.js"; -let value: GetTeamAccessRequestOrigin = "bitbucket"; +let value: GetTeamAccessRequestOrigin = "organization-teams"; ``` ## Values diff --git a/docs/models/operations/getteamaccessrequestresponsebody.md b/docs/models/operations/getteamaccessrequestresponsebody.md index 9398f246..cc2ec6e5 100644 --- a/docs/models/operations/getteamaccessrequestresponsebody.md +++ b/docs/models/operations/getteamaccessrequestresponsebody.md @@ -12,7 +12,7 @@ let value: GetTeamAccessRequestResponseBody = { teamName: "My Team", confirmed: false, joinedFrom: { - origin: "link", + origin: "teams", }, accessRequestedAt: 1588720733602, github: {}, diff --git a/docs/models/operations/getteammembersgituserid.md b/docs/models/operations/getteammembersgituserid.md index e4316f5d..39b79371 100644 --- a/docs/models/operations/getteammembersgituserid.md +++ b/docs/models/operations/getteammembersgituserid.md @@ -12,6 +12,6 @@ const value: string = ""; ### `number` ```typescript -const value: number = 802.07; +const value: number = 5341.56; ``` diff --git a/docs/models/operations/getteammembersjoinedfrom.md b/docs/models/operations/getteammembersjoinedfrom.md index 4d6f15fb..18639909 100644 --- a/docs/models/operations/getteammembersjoinedfrom.md +++ b/docs/models/operations/getteammembersjoinedfrom.md @@ -8,7 +8,7 @@ Map with information about the members origin if they joined by requesting acces import { GetTeamMembersJoinedFrom } from "@vercel/sdk/models/operations/getteammembers.js"; let value: GetTeamMembersJoinedFrom = { - origin: "gitlab", + origin: "dsync", }; ``` diff --git a/docs/models/operations/getteammembersorigin.md b/docs/models/operations/getteammembersorigin.md index 85a1d054..6e20d123 100644 --- a/docs/models/operations/getteammembersorigin.md +++ b/docs/models/operations/getteammembersorigin.md @@ -5,7 +5,7 @@ ```typescript import { GetTeamMembersOrigin } from "@vercel/sdk/models/operations/getteammembers.js"; -let value: GetTeamMembersOrigin = "feedback"; +let value: GetTeamMembersOrigin = "organization-teams"; ``` ## Values diff --git a/docs/models/operations/getteammembersteamsprojects.md b/docs/models/operations/getteammembersteamsprojects.md index 0e17e113..a6dcd8ae 100644 --- a/docs/models/operations/getteammembersteamsprojects.md +++ b/docs/models/operations/getteammembersteamsprojects.md @@ -5,7 +5,7 @@ ```typescript import { GetTeamMembersTeamsProjects } from "@vercel/sdk/models/operations/getteammembers.js"; -let value: GetTeamMembersTeamsProjects = "PROJECT_VIEWER"; +let value: GetTeamMembersTeamsProjects = "PROJECT_DEVELOPER"; ``` ## Values diff --git a/docs/models/operations/getteamsresponsebody.md b/docs/models/operations/getteamsresponsebody.md index 3de0f08d..cbf26f7d 100644 --- a/docs/models/operations/getteamsresponsebody.md +++ b/docs/models/operations/getteamsresponsebody.md @@ -10,36 +10,7 @@ import { GetTeamsResponseBody } from "@vercel/sdk/models/operations/getteams.js" let value: GetTeamsResponseBody = { teams: [ { - limited: false, - saml: { - connection: { - type: "OktaSAML", - status: "linked", - state: "active", - connectedAt: 1611796915677, - lastReceivedWebhookEvent: 1611796915677, - }, - directory: { - type: "OktaSAML", - state: "active", - connectedAt: 1611796915677, - lastReceivedWebhookEvent: 1611796915677, - }, - enforced: false, - }, - id: "team_nllPyCtREAqxxdyFKbbMDlxd", - slug: "my-team", - name: "My Team", - avatar: "6eb07268bcfadd309905ffb1579354084c24655c", - membership: { - confirmed: false, - confirmedAt: 5587.31, - role: "MEMBER", - createdAt: 8452.38, - created: 4554.36, - }, - created: "", - createdAt: 1630748523395, + "key": "", }, ], pagination: { diff --git a/docs/models/operations/getwebhooksresponsebodyframework.md b/docs/models/operations/getwebhooksresponsebodyframework.md index aac2b0dc..6b216cc2 100644 --- a/docs/models/operations/getwebhooksresponsebodyframework.md +++ b/docs/models/operations/getwebhooksresponsebodyframework.md @@ -5,7 +5,7 @@ ```typescript import { GetWebhooksResponseBodyFramework } from "@vercel/sdk/models/operations/getwebhooks.js"; -let value: GetWebhooksResponseBodyFramework = "sapper"; +let value: GetWebhooksResponseBodyFramework = "angular"; ``` ## Values diff --git a/docs/models/operations/gitaccount.md b/docs/models/operations/gitaccount.md index 862eed20..5c392ba1 100644 --- a/docs/models/operations/gitaccount.md +++ b/docs/models/operations/gitaccount.md @@ -6,8 +6,8 @@ import { GitAccount } from "@vercel/sdk/models/operations/searchrepo.js"; let value: GitAccount = { - provider: "bitbucket", - namespaceId: 7143.00, + provider: "github", + namespaceId: "", }; ``` diff --git a/docs/models/operations/gitnamespacesid.md b/docs/models/operations/gitnamespacesid.md index 91e21844..1d97d7a1 100644 --- a/docs/models/operations/gitnamespacesid.md +++ b/docs/models/operations/gitnamespacesid.md @@ -12,6 +12,6 @@ const value: string = ""; ### `number` ```typescript -const value: number = 1602.60; +const value: number = 4938.65; ``` diff --git a/docs/models/operations/gitnamespacesresponsebody.md b/docs/models/operations/gitnamespacesresponsebody.md index 640b8b13..1ddced6d 100644 --- a/docs/models/operations/gitnamespacesresponsebody.md +++ b/docs/models/operations/gitnamespacesresponsebody.md @@ -8,7 +8,7 @@ import { GitNamespacesResponseBody } from "@vercel/sdk/models/operations/gitname let value: GitNamespacesResponseBody = { provider: "", slug: "", - id: 6090.94, + id: 1263.68, ownerType: "", }; ``` diff --git a/docs/models/operations/gitrepo.md b/docs/models/operations/gitrepo.md index 6d84b826..b8547ef4 100644 --- a/docs/models/operations/gitrepo.md +++ b/docs/models/operations/gitrepo.md @@ -8,10 +8,10 @@ ```typescript const value: operations.GitRepo1 = { namespace: "", - projectId: 5775.90, + projectId: 2871.53, type: "gitlab", - url: "https://boiling-galoshes.net/", - path: "/usr/X11R6", + url: "https://neat-redesign.org", + path: "/lost+found", defaultBranch: "", name: "", private: false, @@ -25,10 +25,10 @@ const value: operations.GitRepo1 = { const value: operations.GitRepo2 = { org: "", repo: "", - repoId: 7672.10, + repoId: 6599.71, type: "github", - repoOwnerId: 2871.53, - path: "/root", + repoOwnerId: 5802.38, + path: "/usr/libexec", defaultBranch: "", name: "", private: false, @@ -45,11 +45,11 @@ const value: operations.GitRepo3 = { slug: "", type: "bitbucket", workspaceUuid: "", - path: "/usr/lib", + path: "/boot", defaultBranch: "", name: "", private: false, - ownerType: "user", + ownerType: "team", }; ``` diff --git a/docs/models/operations/gitrepo1.md b/docs/models/operations/gitrepo1.md index 7e7e6e54..287cbcf2 100644 --- a/docs/models/operations/gitrepo1.md +++ b/docs/models/operations/gitrepo1.md @@ -7,10 +7,10 @@ import { GitRepo1 } from "@vercel/sdk/models/operations/createdeployment.js"; let value: GitRepo1 = { namespace: "", - projectId: 3740.63, + projectId: 752.77, type: "gitlab", - url: "https://ripe-encouragement.biz/", - path: "/opt", + url: "https://honorable-rubric.net/", + path: "/usr/bin", defaultBranch: "", name: "", private: false, diff --git a/docs/models/operations/gitrepo2.md b/docs/models/operations/gitrepo2.md index cb57c9de..a34060b1 100644 --- a/docs/models/operations/gitrepo2.md +++ b/docs/models/operations/gitrepo2.md @@ -8,10 +8,10 @@ import { GitRepo2 } from "@vercel/sdk/models/operations/createdeployment.js"; let value: GitRepo2 = { org: "", repo: "", - repoId: 7031.89, + repoId: 2958.92, type: "github", - repoOwnerId: 9492.80, - path: "/usr/X11R6", + repoOwnerId: 3032.92, + path: "/opt", defaultBranch: "", name: "", private: false, diff --git a/docs/models/operations/gitrepo3.md b/docs/models/operations/gitrepo3.md index b8170bdf..f66fc1b8 100644 --- a/docs/models/operations/gitrepo3.md +++ b/docs/models/operations/gitrepo3.md @@ -11,7 +11,7 @@ let value: GitRepo3 = { slug: "", type: "bitbucket", workspaceUuid: "", - path: "/lost+found", + path: "/opt/bin", defaultBranch: "", name: "", private: false, diff --git a/docs/models/operations/gitsource.md b/docs/models/operations/gitsource.md index 0a5fbc3a..04579c4c 100644 --- a/docs/models/operations/gitsource.md +++ b/docs/models/operations/gitsource.md @@ -10,7 +10,7 @@ Defines the Git Repository source to be deployed. This property can not be used ```typescript const value: operations.One = { ref: "", - repoId: 1023.17, + repoId: 3203.26, type: "github", }; ``` @@ -30,7 +30,7 @@ const value: operations.Two = { ```typescript const value: operations.Three = { - projectId: 9829.90, + projectId: "", ref: "", type: "gitlab", }; diff --git a/docs/models/operations/gitsource1.md b/docs/models/operations/gitsource1.md index 35389590..7e49b3ee 100644 --- a/docs/models/operations/gitsource1.md +++ b/docs/models/operations/gitsource1.md @@ -7,7 +7,7 @@ import { GitSource1 } from "@vercel/sdk/models/operations/createdeployment.js"; let value: GitSource1 = { type: "github", - repoId: 7118.70, + repoId: 8830.78, }; ``` diff --git a/docs/models/operations/gitsource6.md b/docs/models/operations/gitsource6.md index edbcf833..7ef8d444 100644 --- a/docs/models/operations/gitsource6.md +++ b/docs/models/operations/gitsource6.md @@ -11,7 +11,7 @@ let value: GitSource6 = { type: "custom", ref: "", sha: "", - gitUrl: "https://genuine-fuel.biz", + gitUrl: "https://close-airman.org", }; ``` diff --git a/docs/models/operations/gitsource7.md b/docs/models/operations/gitsource7.md index 515a3666..daf1c46d 100644 --- a/docs/models/operations/gitsource7.md +++ b/docs/models/operations/gitsource7.md @@ -9,7 +9,7 @@ let value: GitSource7 = { type: "github", ref: "", sha: "", - repoId: 8872.83, + repoId: 9903.69, }; ``` diff --git a/docs/models/operations/gitsource8.md b/docs/models/operations/gitsource8.md index ed2d74c6..099f872c 100644 --- a/docs/models/operations/gitsource8.md +++ b/docs/models/operations/gitsource8.md @@ -9,7 +9,7 @@ let value: GitSource8 = { type: "gitlab", ref: "", sha: "", - projectId: 9853.79, + projectId: 4871.48, }; ``` diff --git a/docs/models/operations/gitsourceprojectid.md b/docs/models/operations/gitsourceprojectid.md index 6612818d..78c61903 100644 --- a/docs/models/operations/gitsourceprojectid.md +++ b/docs/models/operations/gitsourceprojectid.md @@ -12,6 +12,6 @@ const value: string = ""; ### `number` ```typescript -const value: number = 6211.40; +const value: number = 3962.23; ``` diff --git a/docs/models/operations/gitsourcerepoid.md b/docs/models/operations/gitsourcerepoid.md index fc566713..42990b04 100644 --- a/docs/models/operations/gitsourcerepoid.md +++ b/docs/models/operations/gitsourcerepoid.md @@ -12,6 +12,6 @@ const value: string = ""; ### `number` ```typescript -const value: number = 8843.60; +const value: number = 8219.04; ``` diff --git a/docs/models/operations/has2.md b/docs/models/operations/has2.md index adddb0cf..f8f64221 100644 --- a/docs/models/operations/has2.md +++ b/docs/models/operations/has2.md @@ -6,7 +6,7 @@ import { Has2 } from "@vercel/sdk/models/operations/createdeployment.js"; let value: Has2 = { - type: "query", + type: "cookie", key: "", }; ``` diff --git a/docs/models/operations/https.md b/docs/models/operations/https.md index cbf5e1c8..96dd0e25 100644 --- a/docs/models/operations/https.md +++ b/docs/models/operations/https.md @@ -6,7 +6,7 @@ import { Https } from "@vercel/sdk/models/operations/updaterecord.js"; let value: Https = { - priority: 19691, + priority: 769789, target: "example2.com.", }; ``` diff --git a/docs/models/operations/id.md b/docs/models/operations/id.md index bbcb04d8..2cbd3069 100644 --- a/docs/models/operations/id.md +++ b/docs/models/operations/id.md @@ -5,7 +5,7 @@ ```typescript import { Id } from "@vercel/sdk/models/operations/updatefirewallconfig.js"; -let value: Id = "sqli"; +let value: Id = "rfi"; ``` ## Values diff --git a/docs/models/operations/integrations.md b/docs/models/operations/integrations.md index 4aa06f56..48bfe4d8 100644 --- a/docs/models/operations/integrations.md +++ b/docs/models/operations/integrations.md @@ -6,8 +6,8 @@ import { Integrations } from "@vercel/sdk/models/operations/createdeployment.js"; let value: Integrations = { - status: "error", - startedAt: 8310.31, + status: "timeout", + startedAt: 2942.66, }; ``` diff --git a/docs/models/operations/inviteusertoteamrequest.md b/docs/models/operations/inviteusertoteamrequest.md index 8e67140d..068bad5a 100644 --- a/docs/models/operations/inviteusertoteamrequest.md +++ b/docs/models/operations/inviteusertoteamrequest.md @@ -10,7 +10,7 @@ let value: InviteUserToTeamRequest = { requestBody: { uid: "kr1PsOIzqEL5Xg6M4VZcZosf", email: "john@example.com", - role: "VIEWER", + role: "BILLING", projects: [ { projectId: "prj_ndlgr43fadlPyCtREAqxxdyFK", diff --git a/docs/models/operations/inviteusertoteamrequestbody.md b/docs/models/operations/inviteusertoteamrequestbody.md index a7bb0848..22eda719 100644 --- a/docs/models/operations/inviteusertoteamrequestbody.md +++ b/docs/models/operations/inviteusertoteamrequestbody.md @@ -8,7 +8,7 @@ import { InviteUserToTeamRequestBody } from "@vercel/sdk/models/operations/invit let value: InviteUserToTeamRequestBody = { uid: "kr1PsOIzqEL5Xg6M4VZcZosf", email: "john@example.com", - role: "VIEWER", + role: "OWNER", projects: [ { projectId: "prj_ndlgr43fadlPyCtREAqxxdyFK", diff --git a/docs/models/operations/inviteusertoteamresponsebody.md b/docs/models/operations/inviteusertoteamresponsebody.md index 0292ca75..0fad8ae7 100644 --- a/docs/models/operations/inviteusertoteamresponsebody.md +++ b/docs/models/operations/inviteusertoteamresponsebody.md @@ -21,8 +21,8 @@ const value: operations.InviteUserToTeamResponseBody1 = { ```typescript const value: operations.InviteUserToTeamResponseBody2 = { uid: "", - username: "Josiah.Towne44", - role: "OWNER", + username: "Buster9", + role: "VIEWER", }; ``` diff --git a/docs/models/operations/inviteusertoteamresponsebody2.md b/docs/models/operations/inviteusertoteamresponsebody2.md index f52818a0..e726c720 100644 --- a/docs/models/operations/inviteusertoteamresponsebody2.md +++ b/docs/models/operations/inviteusertoteamresponsebody2.md @@ -7,8 +7,8 @@ import { InviteUserToTeamResponseBody2 } from "@vercel/sdk/models/operations/inv let value: InviteUserToTeamResponseBody2 = { uid: "", - username: "Kadin.Hand", - role: "OWNER", + username: "Sienna15", + role: "VIEWER", }; ``` diff --git a/docs/models/operations/inviteusertoteamresponsebodyrole.md b/docs/models/operations/inviteusertoteamresponsebodyrole.md index 441c5597..75867498 100644 --- a/docs/models/operations/inviteusertoteamresponsebodyrole.md +++ b/docs/models/operations/inviteusertoteamresponsebodyrole.md @@ -5,7 +5,7 @@ ```typescript import { InviteUserToTeamResponseBodyRole } from "@vercel/sdk/models/operations/inviteusertoteam.js"; -let value: InviteUserToTeamResponseBodyRole = "CONTRIBUTOR"; +let value: InviteUserToTeamResponseBodyRole = "OWNER"; ``` ## Values diff --git a/docs/models/operations/ips.md b/docs/models/operations/ips.md index 98929d32..009c9782 100644 --- a/docs/models/operations/ips.md +++ b/docs/models/operations/ips.md @@ -6,9 +6,9 @@ import { Ips } from "@vercel/sdk/models/operations/putfirewallconfig.js"; let value: Ips = { - hostname: "far-flung-intellect.org", - ip: "109.156.139.249", - action: "log", + hostname: "showy-vibration.info", + ip: "11.47.60.46", + action: "bypass", }; ``` diff --git a/docs/models/operations/issuecertresponsebody.md b/docs/models/operations/issuecertresponsebody.md index 303bb638..5a82d044 100644 --- a/docs/models/operations/issuecertresponsebody.md +++ b/docs/models/operations/issuecertresponsebody.md @@ -7,8 +7,8 @@ import { IssueCertResponseBody } from "@vercel/sdk/models/operations/issuecert.j let value: IssueCertResponseBody = { id: "", - createdAt: 4671.09, - expiresAt: 7530.42, + createdAt: 1664.81, + expiresAt: 5319.67, autoRenew: false, cns: [ "", diff --git a/docs/models/operations/items.md b/docs/models/operations/items.md index 9afc4347..596992ae 100644 --- a/docs/models/operations/items.md +++ b/docs/models/operations/items.md @@ -13,7 +13,7 @@ const value: operations.Items1 = false; ```typescript const value: operations.Items2[] = [ - "", + 9430.62, ]; ``` diff --git a/docs/models/operations/items1.md b/docs/models/operations/items1.md index f825d646..fa6ed9e9 100644 --- a/docs/models/operations/items1.md +++ b/docs/models/operations/items1.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 7486.06; +const value: number = 9191.71; ``` ### `boolean` diff --git a/docs/models/operations/items2.md b/docs/models/operations/items2.md index c26f376f..0f2232b5 100644 --- a/docs/models/operations/items2.md +++ b/docs/models/operations/items2.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 987.60; +const value: number = 1465.84; ``` ### `boolean` diff --git a/docs/models/operations/java.md b/docs/models/operations/java.md index 60d268e3..0d6cca43 100644 --- a/docs/models/operations/java.md +++ b/docs/models/operations/java.md @@ -7,7 +7,7 @@ import { Java } from "@vercel/sdk/models/operations/putfirewallconfig.js"; let value: Java = { active: false, - action: "deny", + action: "log", }; ``` diff --git a/docs/models/operations/lambdas.md b/docs/models/operations/lambdas.md index 8cd7e148..743bf691 100644 --- a/docs/models/operations/lambdas.md +++ b/docs/models/operations/lambdas.md @@ -10,7 +10,7 @@ import { Lambdas } from "@vercel/sdk/models/operations/createdeployment.js"; let value: Lambdas = { output: [ { - path: "/var/yp", + path: "/usr", functionName: "", }, ], diff --git a/docs/models/operations/lfi.md b/docs/models/operations/lfi.md index b5af4155..882e3a9c 100644 --- a/docs/models/operations/lfi.md +++ b/docs/models/operations/lfi.md @@ -7,13 +7,13 @@ import { Lfi } from "@vercel/sdk/models/operations/putfirewallconfig.js"; let value: Lfi = { active: false, - action: "deny", + action: "log", }; ``` ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -| `active` | *boolean* | :heavy_check_mark: | N/A | -| `action` | [operations.PutFirewallConfigSecurityAction](../../models/operations/putfirewallconfigsecurityaction.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | +| `active` | *boolean* | :heavy_check_mark: | N/A | +| `action` | [operations.PutFirewallConfigSecurityRequestAction](../../models/operations/putfirewallconfigsecurityrequestaction.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/listaliasesprotectionbypass.md b/docs/models/operations/listaliasesprotectionbypass.md index 1c226451..de4e84dd 100644 --- a/docs/models/operations/listaliasesprotectionbypass.md +++ b/docs/models/operations/listaliasesprotectionbypass.md @@ -7,7 +7,7 @@ ```typescript const value: operations.ListAliasesProtectionBypass1 = { - createdAt: 107.78, + createdAt: 2033.57, createdBy: "", scope: "shareable-link", }; @@ -17,8 +17,8 @@ const value: operations.ListAliasesProtectionBypass1 = { ```typescript const value: operations.ListAliasesProtectionBypass2 = { - createdAt: 9970.46, - lastUpdatedAt: 2205.06, + createdAt: 5700.47, + lastUpdatedAt: 7457.64, lastUpdatedBy: "", access: "requested", scope: "user", @@ -29,7 +29,7 @@ const value: operations.ListAliasesProtectionBypass2 = { ```typescript const value: operations.ListAliasesProtectionBypass3 = { - createdAt: 2084.14, + createdAt: 4343.82, createdBy: "", scope: "alias-protection-override", }; @@ -39,8 +39,8 @@ const value: operations.ListAliasesProtectionBypass3 = { ```typescript const value: operations.ListAliasesProtectionBypass4 = { - createdAt: 9281.02, - lastUpdatedAt: 6520.13, + createdAt: 5753.97, + lastUpdatedAt: 4671.09, lastUpdatedBy: "", scope: "email_invite", }; diff --git a/docs/models/operations/listaliasesprotectionbypass1.md b/docs/models/operations/listaliasesprotectionbypass1.md index 02a446b9..84abc06d 100644 --- a/docs/models/operations/listaliasesprotectionbypass1.md +++ b/docs/models/operations/listaliasesprotectionbypass1.md @@ -8,7 +8,7 @@ The protection bypass for the alias import { ListAliasesProtectionBypass1 } from "@vercel/sdk/models/operations/listaliases.js"; let value: ListAliasesProtectionBypass1 = { - createdAt: 687.78, + createdAt: 7993.06, createdBy: "", scope: "shareable-link", }; diff --git a/docs/models/operations/listaliasesprotectionbypass2.md b/docs/models/operations/listaliasesprotectionbypass2.md index 1b7fa567..4aac9ee3 100644 --- a/docs/models/operations/listaliasesprotectionbypass2.md +++ b/docs/models/operations/listaliasesprotectionbypass2.md @@ -8,8 +8,8 @@ The protection bypass for the alias import { ListAliasesProtectionBypass2 } from "@vercel/sdk/models/operations/listaliases.js"; let value: ListAliasesProtectionBypass2 = { - createdAt: 2593.42, - lastUpdatedAt: 9640.20, + createdAt: 2883.49, + lastUpdatedAt: 2913.62, lastUpdatedBy: "", access: "granted", scope: "user", diff --git a/docs/models/operations/listaliasesprotectionbypass3.md b/docs/models/operations/listaliasesprotectionbypass3.md index 2c32dac4..19c458d9 100644 --- a/docs/models/operations/listaliasesprotectionbypass3.md +++ b/docs/models/operations/listaliasesprotectionbypass3.md @@ -8,7 +8,7 @@ The protection bypass for the alias import { ListAliasesProtectionBypass3 } from "@vercel/sdk/models/operations/listaliases.js"; let value: ListAliasesProtectionBypass3 = { - createdAt: 3007.27, + createdAt: 6734.58, createdBy: "", scope: "alias-protection-override", }; diff --git a/docs/models/operations/listaliasesprotectionbypass4.md b/docs/models/operations/listaliasesprotectionbypass4.md index 8146e27c..88d28eaa 100644 --- a/docs/models/operations/listaliasesprotectionbypass4.md +++ b/docs/models/operations/listaliasesprotectionbypass4.md @@ -8,8 +8,8 @@ The protection bypass for the alias import { ListAliasesProtectionBypass4 } from "@vercel/sdk/models/operations/listaliases.js"; let value: ListAliasesProtectionBypass4 = { - createdAt: 3042.01, - lastUpdatedAt: 5410.46, + createdAt: 5800.80, + lastUpdatedAt: 6935.92, lastUpdatedBy: "", scope: "email_invite", }; diff --git a/docs/models/operations/listdeploymentaliasesprotectionbypass.md b/docs/models/operations/listdeploymentaliasesprotectionbypass.md index 2b0a2596..10a7336e 100644 --- a/docs/models/operations/listdeploymentaliasesprotectionbypass.md +++ b/docs/models/operations/listdeploymentaliasesprotectionbypass.md @@ -7,7 +7,7 @@ ```typescript const value: operations.ListDeploymentAliasesProtectionBypass1 = { - createdAt: 2913.62, + createdAt: 5929.46, createdBy: "", scope: "shareable-link", }; @@ -17,8 +17,8 @@ const value: operations.ListDeploymentAliasesProtectionBypass1 = { ```typescript const value: operations.ListDeploymentAliasesProtectionBypass2 = { - createdAt: 9180.04, - lastUpdatedAt: 7993.06, + createdAt: 6124.25, + lastUpdatedAt: 2326.02, lastUpdatedBy: "", access: "requested", scope: "user", @@ -29,7 +29,7 @@ const value: operations.ListDeploymentAliasesProtectionBypass2 = { ```typescript const value: operations.ListDeploymentAliasesProtectionBypass3 = { - createdAt: 5700.47, + createdAt: 4820.62, createdBy: "", scope: "alias-protection-override", }; @@ -39,8 +39,8 @@ const value: operations.ListDeploymentAliasesProtectionBypass3 = { ```typescript const value: operations.ListDeploymentAliasesProtectionBypass4 = { - createdAt: 7457.64, - lastUpdatedAt: 3530.36, + createdAt: 4531.11, + lastUpdatedAt: 8035.45, lastUpdatedBy: "", scope: "email_invite", }; diff --git a/docs/models/operations/listdeploymentaliasesprotectionbypass1.md b/docs/models/operations/listdeploymentaliasesprotectionbypass1.md index 827ed4a7..681549fb 100644 --- a/docs/models/operations/listdeploymentaliasesprotectionbypass1.md +++ b/docs/models/operations/listdeploymentaliasesprotectionbypass1.md @@ -8,7 +8,7 @@ The protection bypass for the alias import { ListDeploymentAliasesProtectionBypass1 } from "@vercel/sdk/models/operations/listdeploymentaliases.js"; let value: ListDeploymentAliasesProtectionBypass1 = { - createdAt: 2883.49, + createdAt: 2449.90, createdBy: "", scope: "shareable-link", }; diff --git a/docs/models/operations/listdeploymentaliasesprotectionbypass2.md b/docs/models/operations/listdeploymentaliasesprotectionbypass2.md index 71bcc397..18b51559 100644 --- a/docs/models/operations/listdeploymentaliasesprotectionbypass2.md +++ b/docs/models/operations/listdeploymentaliasesprotectionbypass2.md @@ -8,10 +8,10 @@ The protection bypass for the alias import { ListDeploymentAliasesProtectionBypass2 } from "@vercel/sdk/models/operations/listdeploymentaliases.js"; let value: ListDeploymentAliasesProtectionBypass2 = { - createdAt: 6935.92, - lastUpdatedAt: 6734.58, + createdAt: 1291.56, + lastUpdatedAt: 731.97, lastUpdatedBy: "", - access: "granted", + access: "requested", scope: "user", }; ``` diff --git a/docs/models/operations/listdeploymentaliasesprotectionbypass3.md b/docs/models/operations/listdeploymentaliasesprotectionbypass3.md index 6e59d826..66306401 100644 --- a/docs/models/operations/listdeploymentaliasesprotectionbypass3.md +++ b/docs/models/operations/listdeploymentaliasesprotectionbypass3.md @@ -8,7 +8,7 @@ The protection bypass for the alias import { ListDeploymentAliasesProtectionBypass3 } from "@vercel/sdk/models/operations/listdeploymentaliases.js"; let value: ListDeploymentAliasesProtectionBypass3 = { - createdAt: 3888.51, + createdAt: 5458.54, createdBy: "", scope: "alias-protection-override", }; diff --git a/docs/models/operations/listdeploymentaliasesprotectionbypass4.md b/docs/models/operations/listdeploymentaliasesprotectionbypass4.md index f08a9dd9..92aea2e8 100644 --- a/docs/models/operations/listdeploymentaliasesprotectionbypass4.md +++ b/docs/models/operations/listdeploymentaliasesprotectionbypass4.md @@ -8,8 +8,8 @@ The protection bypass for the alias import { ListDeploymentAliasesProtectionBypass4 } from "@vercel/sdk/models/operations/listdeploymentaliases.js"; let value: ListDeploymentAliasesProtectionBypass4 = { - createdAt: 8264.30, - lastUpdatedAt: 9539.20, + createdAt: 6020.76, + lastUpdatedAt: 5904.21, lastUpdatedBy: "", scope: "email_invite", }; diff --git a/docs/models/operations/ma.md b/docs/models/operations/ma.md index 4fdd39ac..158d2d20 100644 --- a/docs/models/operations/ma.md +++ b/docs/models/operations/ma.md @@ -7,13 +7,13 @@ import { Ma } from "@vercel/sdk/models/operations/putfirewallconfig.js"; let value: Ma = { active: false, - action: "log", + action: "deny", }; ``` ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | -| `active` | *boolean* | :heavy_check_mark: | N/A | -| `action` | [operations.PutFirewallConfigAction](../../models/operations/putfirewallconfigaction.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | +| `active` | *boolean* | :heavy_check_mark: | N/A | +| `action` | [operations.PutFirewallConfigSecurityAction](../../models/operations/putfirewallconfigsecurityaction.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/missing2.md b/docs/models/operations/missing2.md index cdc1de96..53f48c1f 100644 --- a/docs/models/operations/missing2.md +++ b/docs/models/operations/missing2.md @@ -6,7 +6,7 @@ import { Missing2 } from "@vercel/sdk/models/operations/createdeployment.js"; let value: Missing2 = { - type: "query", + type: "header", key: "", }; ``` diff --git a/docs/models/operations/mitigate.md b/docs/models/operations/mitigate.md index 3c3907eb..43a656c1 100644 --- a/docs/models/operations/mitigate.md +++ b/docs/models/operations/mitigate.md @@ -6,7 +6,7 @@ import { Mitigate } from "@vercel/sdk/models/operations/putfirewallconfig.js"; let value: Mitigate = { - action: "redirect", + action: "bypass", }; ``` diff --git a/docs/models/operations/namespaceid.md b/docs/models/operations/namespaceid.md index 46100c53..bcddb036 100644 --- a/docs/models/operations/namespaceid.md +++ b/docs/models/operations/namespaceid.md @@ -12,6 +12,6 @@ const value: string = ""; ### `number` ```typescript -const value: number = 1851.16; +const value: number = 8768.21; ``` diff --git a/docs/models/operations/nine.md b/docs/models/operations/nine.md index d778d0d2..693c6ce5 100644 --- a/docs/models/operations/nine.md +++ b/docs/models/operations/nine.md @@ -7,7 +7,7 @@ import { Nine } from "@vercel/sdk/models/operations/createrecord.js"; let value: Nine = { name: "subdomain", - type: "CNAME", + type: "ALIAS", ttl: 60, value: "ns1.example.com", comment: "used to verify ownership of domain", diff --git a/docs/models/operations/nodeversion.md b/docs/models/operations/nodeversion.md index eabb14aa..7b5064b4 100644 --- a/docs/models/operations/nodeversion.md +++ b/docs/models/operations/nodeversion.md @@ -7,7 +7,7 @@ Override the Node.js version that should be used for this deployment ```typescript import { NodeVersion } from "@vercel/sdk/models/operations/createdeployment.js"; -let value: NodeVersion = "18.x"; +let value: NodeVersion = "16.x"; ``` ## Values diff --git a/docs/models/operations/one.md b/docs/models/operations/one.md index 949dad5c..18a42071 100644 --- a/docs/models/operations/one.md +++ b/docs/models/operations/one.md @@ -7,7 +7,7 @@ import { One } from "@vercel/sdk/models/operations/createdeployment.js"; let value: One = { ref: "", - repoId: 6751.26, + repoId: 510.53, type: "github", }; ``` diff --git a/docs/models/operations/op.md b/docs/models/operations/op.md index 114beed3..a8b5d92c 100644 --- a/docs/models/operations/op.md +++ b/docs/models/operations/op.md @@ -5,7 +5,7 @@ ```typescript import { Op } from "@vercel/sdk/models/operations/putfirewallconfig.js"; -let value: Op = "ninc"; +let value: Op = "lte"; ``` ## Values diff --git a/docs/models/operations/options.md b/docs/models/operations/options.md index 34d3f328..f0dba2a9 100644 --- a/docs/models/operations/options.md +++ b/docs/models/operations/options.md @@ -6,7 +6,7 @@ import { Options } from "@vercel/sdk/models/operations/createdeployment.js"; let value: Options = { - value: 7932.82, + value: [], }; ``` diff --git a/docs/models/operations/order.md b/docs/models/operations/order.md new file mode 100644 index 00000000..91bfe10d --- /dev/null +++ b/docs/models/operations/order.md @@ -0,0 +1,17 @@ +# Order + +Domains sort order by createdAt + +## Example Usage + +```typescript +import { Order } from "@vercel/sdk/models/operations/getprojectdomains.js"; + +let value: Order = "ASC"; +``` + +## Values + +```typescript +"ASC" | "DESC" +``` \ No newline at end of file diff --git a/docs/models/operations/owner.md b/docs/models/operations/owner.md index a2687cee..4e5e4aec 100644 --- a/docs/models/operations/owner.md +++ b/docs/models/operations/owner.md @@ -6,7 +6,7 @@ import { Owner } from "@vercel/sdk/models/operations/searchrepo.js"; let value: Owner = { - id: 7607.93, + id: 4137.68, name: "", }; ``` diff --git a/docs/models/operations/ownertype.md b/docs/models/operations/ownertype.md index 66b2dd89..b31d074f 100644 --- a/docs/models/operations/ownertype.md +++ b/docs/models/operations/ownertype.md @@ -5,7 +5,7 @@ ```typescript import { OwnerType } from "@vercel/sdk/models/operations/createdeployment.js"; -let value: OwnerType = "team"; +let value: OwnerType = "user"; ``` ## Values diff --git a/docs/models/operations/patchdomainrequest.md b/docs/models/operations/patchdomainrequest.md index 571f0078..c6226fc9 100644 --- a/docs/models/operations/patchdomainrequest.md +++ b/docs/models/operations/patchdomainrequest.md @@ -6,7 +6,7 @@ import { PatchDomainRequest } from "@vercel/sdk/models/operations/patchdomain.js"; let value: PatchDomainRequest = { - domain: "tasty-dead.info", + domain: "steel-march.org", requestBody: { op: "move-out", }, diff --git a/docs/models/operations/period.md b/docs/models/operations/period.md new file mode 100644 index 00000000..f532187e --- /dev/null +++ b/docs/models/operations/period.md @@ -0,0 +1,21 @@ +# Period + +Period for the billing cycle. + +## Example Usage + +```typescript +import { Period } from "@vercel/sdk/models/operations/submitbillingdata.js"; + +let value: Period = { + start: new Date("2022-07-30T03:06:39.554Z"), + end: new Date("2022-10-24T10:38:09.514Z"), +}; +``` + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `start` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_check_mark: | N/A | +| `end` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/permissions.md b/docs/models/operations/permissions.md index c7c13713..80a74741 100644 --- a/docs/models/operations/permissions.md +++ b/docs/models/operations/permissions.md @@ -83,6 +83,7 @@ let value: Permissions = {}; | `notificationCustomerBudget` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | | `notificationStatementOfReasons` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | | `oauth2Connection` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `observabilityConfiguration` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | | `openTelemetryEndpoint` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | | `paymentMethod` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | | `permissions` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | @@ -157,6 +158,7 @@ let value: Permissions = {}; | `passwordProtection` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | | `optionsAllowlist` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | | `job` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `observabilityData` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | | `project` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | | `projectFromV0` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | | `projectAccessGroup` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | diff --git a/docs/models/operations/php.md b/docs/models/operations/php.md index 0c5223e3..aa42acc6 100644 --- a/docs/models/operations/php.md +++ b/docs/models/operations/php.md @@ -13,7 +13,7 @@ let value: Php = { ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | -| `active` | *boolean* | :heavy_check_mark: | N/A | -| `action` | [operations.PutFirewallConfigSecurityRequestRequestBodyCrsAction](../../models/operations/putfirewallconfigsecurityrequestrequestbodycrsaction.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `active` | *boolean* | :heavy_check_mark: | N/A | +| `action` | [operations.PutFirewallConfigSecurityRequestRequestBodyCrsPhpAction](../../models/operations/putfirewallconfigsecurityrequestrequestbodycrsphpaction.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/plan.md b/docs/models/operations/plan.md index 02d7d257..acf60e95 100644 --- a/docs/models/operations/plan.md +++ b/docs/models/operations/plan.md @@ -5,7 +5,7 @@ ```typescript import { Plan } from "@vercel/sdk/models/operations/createdeployment.js"; -let value: Plan = "enterprise"; +let value: Plan = "hobby"; ``` ## Values diff --git a/docs/models/operations/production.md b/docs/models/operations/production.md new file mode 100644 index 00000000..f088ee85 --- /dev/null +++ b/docs/models/operations/production.md @@ -0,0 +1,17 @@ +# Production + +Filters only production domains when set to `true`. + +## Example Usage + +```typescript +import { Production } from "@vercel/sdk/models/operations/getprojectdomains.js"; + +let value: Production = "true"; +``` + +## Values + +```typescript +"true" | "false" +``` \ No newline at end of file diff --git a/docs/models/operations/projectid.md b/docs/models/operations/projectid.md index 725f3e3c..0c217729 100644 --- a/docs/models/operations/projectid.md +++ b/docs/models/operations/projectid.md @@ -6,7 +6,7 @@ ### `number` ```typescript -const value: number = 3006.51; +const value: number = 1023.17; ``` ### `string` diff --git a/docs/models/operations/protectionbypass1.md b/docs/models/operations/protectionbypass1.md index bfc1eb53..b57772fe 100644 --- a/docs/models/operations/protectionbypass1.md +++ b/docs/models/operations/protectionbypass1.md @@ -8,7 +8,7 @@ The protection bypass for the alias import { ProtectionBypass1 } from "@vercel/sdk/models/operations/getalias.js"; let value: ProtectionBypass1 = { - createdAt: 3738.41, + createdAt: 1580.60, createdBy: "", scope: "shareable-link", }; diff --git a/docs/models/operations/protectionbypass2.md b/docs/models/operations/protectionbypass2.md index 5e8c6d13..1a8180fa 100644 --- a/docs/models/operations/protectionbypass2.md +++ b/docs/models/operations/protectionbypass2.md @@ -8,10 +8,10 @@ The protection bypass for the alias import { ProtectionBypass2 } from "@vercel/sdk/models/operations/getalias.js"; let value: ProtectionBypass2 = { - createdAt: 4196.00, - lastUpdatedAt: 1992.28, + createdAt: 6091.64, + lastUpdatedAt: 7759.58, lastUpdatedBy: "", - access: "granted", + access: "requested", scope: "user", }; ``` diff --git a/docs/models/operations/protectionbypass3.md b/docs/models/operations/protectionbypass3.md index a06256fe..be210586 100644 --- a/docs/models/operations/protectionbypass3.md +++ b/docs/models/operations/protectionbypass3.md @@ -8,7 +8,7 @@ The protection bypass for the alias import { ProtectionBypass3 } from "@vercel/sdk/models/operations/getalias.js"; let value: ProtectionBypass3 = { - createdAt: 3178.73, + createdAt: 4346.33, createdBy: "", scope: "alias-protection-override", }; diff --git a/docs/models/operations/protectionbypass4.md b/docs/models/operations/protectionbypass4.md index 613d0426..1c65454c 100644 --- a/docs/models/operations/protectionbypass4.md +++ b/docs/models/operations/protectionbypass4.md @@ -8,8 +8,8 @@ The protection bypass for the alias import { ProtectionBypass4 } from "@vercel/sdk/models/operations/getalias.js"; let value: ProtectionBypass4 = { - createdAt: 5043.86, - lastUpdatedAt: 5576.51, + createdAt: 7530.42, + lastUpdatedAt: 59.39, lastUpdatedBy: "", scope: "email_invite", }; diff --git a/docs/models/operations/provider.md b/docs/models/operations/provider.md index 4cfe44ea..a0b8a928 100644 --- a/docs/models/operations/provider.md +++ b/docs/models/operations/provider.md @@ -5,7 +5,7 @@ ```typescript import { Provider } from "@vercel/sdk/models/operations/gitnamespaces.js"; -let value: Provider = "bitbucket"; +let value: Provider = "gitlab"; ``` ## Values diff --git a/docs/models/operations/putfirewallconfigaction.md b/docs/models/operations/putfirewallconfigaction.md index bec60d3e..607bf8be 100644 --- a/docs/models/operations/putfirewallconfigaction.md +++ b/docs/models/operations/putfirewallconfigaction.md @@ -5,7 +5,7 @@ ```typescript import { PutFirewallConfigAction } from "@vercel/sdk/models/operations/putfirewallconfig.js"; -let value: PutFirewallConfigAction = "deny"; +let value: PutFirewallConfigAction = "log"; ``` ## Values diff --git a/docs/models/operations/putfirewallconfigalgo.md b/docs/models/operations/putfirewallconfigalgo.md index 56a726d6..320b19d9 100644 --- a/docs/models/operations/putfirewallconfigalgo.md +++ b/docs/models/operations/putfirewallconfigalgo.md @@ -5,7 +5,7 @@ ```typescript import { PutFirewallConfigAlgo } from "@vercel/sdk/models/operations/putfirewallconfig.js"; -let value: PutFirewallConfigAlgo = "fixed_window"; +let value: PutFirewallConfigAlgo = "token_bucket"; ``` ## Values diff --git a/docs/models/operations/putfirewallconfigconditiongroup.md b/docs/models/operations/putfirewallconfigconditiongroup.md index 2d59b293..bccad98e 100644 --- a/docs/models/operations/putfirewallconfigconditiongroup.md +++ b/docs/models/operations/putfirewallconfigconditiongroup.md @@ -8,8 +8,8 @@ import { PutFirewallConfigConditionGroup } from "@vercel/sdk/models/operations/p let value: PutFirewallConfigConditionGroup = { conditions: [ { - type: "geo_country", - op: "gt", + type: "ja4_digest", + op: "re", }, ], }; diff --git a/docs/models/operations/putfirewallconfigconditions.md b/docs/models/operations/putfirewallconfigconditions.md index 5d1591c5..ed06e33d 100644 --- a/docs/models/operations/putfirewallconfigconditions.md +++ b/docs/models/operations/putfirewallconfigconditions.md @@ -6,8 +6,8 @@ import { PutFirewallConfigConditions } from "@vercel/sdk/models/operations/putfirewallconfig.js"; let value: PutFirewallConfigConditions = { - type: "host", - op: "sub", + type: "rate_limit_api_id", + op: "suf", }; ``` diff --git a/docs/models/operations/putfirewallconfigcrs.md b/docs/models/operations/putfirewallconfigcrs.md index 1555625d..f610e0bb 100644 --- a/docs/models/operations/putfirewallconfigcrs.md +++ b/docs/models/operations/putfirewallconfigcrs.md @@ -8,7 +8,7 @@ import { PutFirewallConfigCrs } from "@vercel/sdk/models/operations/putfirewallc let value: PutFirewallConfigCrs = { sd: { active: false, - action: "log", + action: "deny", }, ma: { active: false, @@ -28,7 +28,7 @@ let value: PutFirewallConfigCrs = { }, php: { active: false, - action: "log", + action: "deny", }, gen: { active: false, @@ -36,7 +36,7 @@ let value: PutFirewallConfigCrs = { }, xss: { active: false, - action: "deny", + action: "log", }, sqli: { active: false, @@ -44,7 +44,7 @@ let value: PutFirewallConfigCrs = { }, sf: { active: false, - action: "deny", + action: "log", }, java: { active: false, diff --git a/docs/models/operations/putfirewallconfiggen.md b/docs/models/operations/putfirewallconfiggen.md index e9b23ffa..f0f4e341 100644 --- a/docs/models/operations/putfirewallconfiggen.md +++ b/docs/models/operations/putfirewallconfiggen.md @@ -7,7 +7,7 @@ import { PutFirewallConfigGen } from "@vercel/sdk/models/operations/putfirewallc let value: PutFirewallConfigGen = { active: false, - action: "deny", + action: "log", }; ``` diff --git a/docs/models/operations/putfirewallconfigips.md b/docs/models/operations/putfirewallconfigips.md index 56bd7776..54fcf826 100644 --- a/docs/models/operations/putfirewallconfigips.md +++ b/docs/models/operations/putfirewallconfigips.md @@ -7,8 +7,8 @@ import { PutFirewallConfigIps } from "@vercel/sdk/models/operations/putfirewallc let value: PutFirewallConfigIps = { id: "", - hostname: "overdue-exploration.biz", - ip: "81.186.145.201", + hostname: "tender-hawk.info", + ip: "e1b7:f0df:6fce:0c6c:db2b:dfcf:feba:d022", action: "bypass", }; ``` diff --git a/docs/models/operations/putfirewallconfiglfi.md b/docs/models/operations/putfirewallconfiglfi.md index dd689ad6..a95cebf7 100644 --- a/docs/models/operations/putfirewallconfiglfi.md +++ b/docs/models/operations/putfirewallconfiglfi.md @@ -7,7 +7,7 @@ import { PutFirewallConfigLfi } from "@vercel/sdk/models/operations/putfirewallc let value: PutFirewallConfigLfi = { active: false, - action: "deny", + action: "log", }; ``` diff --git a/docs/models/operations/putfirewallconfigmitigate.md b/docs/models/operations/putfirewallconfigmitigate.md index 0b60abad..b2143625 100644 --- a/docs/models/operations/putfirewallconfigmitigate.md +++ b/docs/models/operations/putfirewallconfigmitigate.md @@ -6,7 +6,7 @@ import { PutFirewallConfigMitigate } from "@vercel/sdk/models/operations/putfirewallconfig.js"; let value: PutFirewallConfigMitigate = { - action: "challenge", + action: "rate_limit", }; ``` diff --git a/docs/models/operations/putfirewallconfigop.md b/docs/models/operations/putfirewallconfigop.md index 4db584f6..d3703444 100644 --- a/docs/models/operations/putfirewallconfigop.md +++ b/docs/models/operations/putfirewallconfigop.md @@ -5,7 +5,7 @@ ```typescript import { PutFirewallConfigOp } from "@vercel/sdk/models/operations/putfirewallconfig.js"; -let value: PutFirewallConfigOp = "nex"; +let value: PutFirewallConfigOp = "gt"; ``` ## Values diff --git a/docs/models/operations/putfirewallconfigphp.md b/docs/models/operations/putfirewallconfigphp.md index e46f95a4..0c58d346 100644 --- a/docs/models/operations/putfirewallconfigphp.md +++ b/docs/models/operations/putfirewallconfigphp.md @@ -7,7 +7,7 @@ import { PutFirewallConfigPhp } from "@vercel/sdk/models/operations/putfirewallc let value: PutFirewallConfigPhp = { active: false, - action: "log", + action: "deny", }; ``` diff --git a/docs/models/operations/putfirewallconfigratelimit.md b/docs/models/operations/putfirewallconfigratelimit.md index 18c38353..51d2f673 100644 --- a/docs/models/operations/putfirewallconfigratelimit.md +++ b/docs/models/operations/putfirewallconfigratelimit.md @@ -6,9 +6,9 @@ import { PutFirewallConfigRateLimit } from "@vercel/sdk/models/operations/putfirewallconfig.js"; let value: PutFirewallConfigRateLimit = { - algo: "token_bucket", - window: 7132.46, - limit: 9818.64, + algo: "fixed_window", + window: 2779.35, + limit: 3184.03, keys: [ "", ], diff --git a/docs/models/operations/putfirewallconfigresponsebody.md b/docs/models/operations/putfirewallconfigresponsebody.md index 193ff969..ca57872e 100644 --- a/docs/models/operations/putfirewallconfigresponsebody.md +++ b/docs/models/operations/putfirewallconfigresponsebody.md @@ -10,7 +10,7 @@ let value: PutFirewallConfigResponseBody = { ownerId: "", projectKey: "", id: "", - version: 4209.10, + version: 780.75, updatedAt: "", firewallEnabled: false, crs: { @@ -20,11 +20,11 @@ let value: PutFirewallConfigResponseBody = { }, ma: { active: false, - action: "deny", + action: "log", }, lfi: { active: false, - action: "log", + action: "deny", }, rfi: { active: false, @@ -32,7 +32,7 @@ let value: PutFirewallConfigResponseBody = { }, rce: { active: false, - action: "deny", + action: "log", }, php: { active: false, @@ -48,15 +48,15 @@ let value: PutFirewallConfigResponseBody = { }, sqli: { active: false, - action: "deny", + action: "log", }, sf: { active: false, - action: "deny", + action: "log", }, java: { active: false, - action: "log", + action: "deny", }, }, rules: [ @@ -68,8 +68,8 @@ let value: PutFirewallConfigResponseBody = { { conditions: [ { - type: "ja3_digest", - op: "ninc", + type: "geo_city", + op: "suf", }, ], }, @@ -80,9 +80,9 @@ let value: PutFirewallConfigResponseBody = { ips: [ { id: "", - hostname: "outlandish-event.biz", - ip: "a256:2aee:1067:bf8f:fad1:7e4c:f8bb:fb2b", - action: "log", + hostname: "whole-ectoderm.biz", + ip: "146.229.45.71", + action: "challenge", }, ], changes: [ diff --git a/docs/models/operations/putfirewallconfigrules.md b/docs/models/operations/putfirewallconfigrules.md index 7d176cd5..692a2262 100644 --- a/docs/models/operations/putfirewallconfigrules.md +++ b/docs/models/operations/putfirewallconfigrules.md @@ -13,8 +13,8 @@ let value: PutFirewallConfigRules = { { conditions: [ { - type: "ja4_digest", - op: "re", + type: "environment", + op: "nex", }, ], }, diff --git a/docs/models/operations/putfirewallconfigsecurityaction.md b/docs/models/operations/putfirewallconfigsecurityaction.md index bf72744b..d6152c90 100644 --- a/docs/models/operations/putfirewallconfigsecurityaction.md +++ b/docs/models/operations/putfirewallconfigsecurityaction.md @@ -5,7 +5,7 @@ ```typescript import { PutFirewallConfigSecurityAction } from "@vercel/sdk/models/operations/putfirewallconfig.js"; -let value: PutFirewallConfigSecurityAction = "log"; +let value: PutFirewallConfigSecurityAction = "deny"; ``` ## Values diff --git a/docs/models/operations/putfirewallconfigsecurityrequestrequestbodycrsjavaaction.md b/docs/models/operations/putfirewallconfigsecurityrequestrequestbodycrsjavaaction.md index 99c1e00f..1e31596a 100644 --- a/docs/models/operations/putfirewallconfigsecurityrequestrequestbodycrsjavaaction.md +++ b/docs/models/operations/putfirewallconfigsecurityrequestrequestbodycrsjavaaction.md @@ -5,7 +5,7 @@ ```typescript import { PutFirewallConfigSecurityRequestRequestBodyCrsJavaAction } from "@vercel/sdk/models/operations/putfirewallconfig.js"; -let value: PutFirewallConfigSecurityRequestRequestBodyCrsJavaAction = "deny"; +let value: PutFirewallConfigSecurityRequestRequestBodyCrsJavaAction = "log"; ``` ## Values diff --git a/docs/models/operations/putfirewallconfigsecurityrequestrequestbodycrsphpaction.md b/docs/models/operations/putfirewallconfigsecurityrequestrequestbodycrsphpaction.md new file mode 100644 index 00000000..66156dc4 --- /dev/null +++ b/docs/models/operations/putfirewallconfigsecurityrequestrequestbodycrsphpaction.md @@ -0,0 +1,15 @@ +# PutFirewallConfigSecurityRequestRequestBodyCrsPhpAction + +## Example Usage + +```typescript +import { PutFirewallConfigSecurityRequestRequestBodyCrsPhpAction } from "@vercel/sdk/models/operations/putfirewallconfig.js"; + +let value: PutFirewallConfigSecurityRequestRequestBodyCrsPhpAction = "deny"; +``` + +## Values + +```typescript +"deny" | "log" +``` \ No newline at end of file diff --git a/docs/models/operations/putfirewallconfigsecurityrequestrequestbodycrssfaction.md b/docs/models/operations/putfirewallconfigsecurityrequestrequestbodycrssfaction.md index aafb1a58..49b91bae 100644 --- a/docs/models/operations/putfirewallconfigsecurityrequestrequestbodycrssfaction.md +++ b/docs/models/operations/putfirewallconfigsecurityrequestrequestbodycrssfaction.md @@ -5,7 +5,7 @@ ```typescript import { PutFirewallConfigSecurityRequestRequestBodyCrsSfAction } from "@vercel/sdk/models/operations/putfirewallconfig.js"; -let value: PutFirewallConfigSecurityRequestRequestBodyCrsSfAction = "log"; +let value: PutFirewallConfigSecurityRequestRequestBodyCrsSfAction = "deny"; ``` ## Values diff --git a/docs/models/operations/putfirewallconfigsecurityrequestrequestbodycrssqliaction.md b/docs/models/operations/putfirewallconfigsecurityrequestrequestbodycrssqliaction.md index c91c1bec..04c1b777 100644 --- a/docs/models/operations/putfirewallconfigsecurityrequestrequestbodycrssqliaction.md +++ b/docs/models/operations/putfirewallconfigsecurityrequestrequestbodycrssqliaction.md @@ -5,7 +5,7 @@ ```typescript import { PutFirewallConfigSecurityRequestRequestBodyCrsSqliAction } from "@vercel/sdk/models/operations/putfirewallconfig.js"; -let value: PutFirewallConfigSecurityRequestRequestBodyCrsSqliAction = "deny"; +let value: PutFirewallConfigSecurityRequestRequestBodyCrsSqliAction = "log"; ``` ## Values diff --git a/docs/models/operations/putfirewallconfigsecurityrequestrequestbodycrsxssaction.md b/docs/models/operations/putfirewallconfigsecurityrequestrequestbodycrsxssaction.md index 440c2617..25452a68 100644 --- a/docs/models/operations/putfirewallconfigsecurityrequestrequestbodycrsxssaction.md +++ b/docs/models/operations/putfirewallconfigsecurityrequestrequestbodycrsxssaction.md @@ -5,7 +5,7 @@ ```typescript import { PutFirewallConfigSecurityRequestRequestBodyCrsXssAction } from "@vercel/sdk/models/operations/putfirewallconfig.js"; -let value: PutFirewallConfigSecurityRequestRequestBodyCrsXssAction = "log"; +let value: PutFirewallConfigSecurityRequestRequestBodyCrsXssAction = "deny"; ``` ## Values diff --git a/docs/models/operations/putfirewallconfigsecurityrequestrequestbodyrulesactionaction.md b/docs/models/operations/putfirewallconfigsecurityrequestrequestbodyrulesactionaction.md index 74353eec..930e045d 100644 --- a/docs/models/operations/putfirewallconfigsecurityrequestrequestbodyrulesactionaction.md +++ b/docs/models/operations/putfirewallconfigsecurityrequestrequestbodyrulesactionaction.md @@ -6,7 +6,7 @@ import { PutFirewallConfigSecurityRequestRequestBodyRulesActionAction } from "@vercel/sdk/models/operations/putfirewallconfig.js"; let value: PutFirewallConfigSecurityRequestRequestBodyRulesActionAction = - "bypass"; + "deny"; ``` ## Values diff --git a/docs/models/operations/putfirewallconfigsecurityresponse200action.md b/docs/models/operations/putfirewallconfigsecurityresponse200action.md index 8aa57abb..26115820 100644 --- a/docs/models/operations/putfirewallconfigsecurityresponse200action.md +++ b/docs/models/operations/putfirewallconfigsecurityresponse200action.md @@ -5,7 +5,7 @@ ```typescript import { PutFirewallConfigSecurityResponse200Action } from "@vercel/sdk/models/operations/putfirewallconfig.js"; -let value: PutFirewallConfigSecurityResponse200Action = "deny"; +let value: PutFirewallConfigSecurityResponse200Action = "bypass"; ``` ## Values diff --git a/docs/models/operations/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactiveaction.md b/docs/models/operations/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactiveaction.md index c1af3868..7be9be7c 100644 --- a/docs/models/operations/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactiveaction.md +++ b/docs/models/operations/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactiveaction.md @@ -7,7 +7,7 @@ import { PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveAc let value: PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveAction = - "log"; + "deny"; ``` ## Values diff --git a/docs/models/operations/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactivecrsaction.md b/docs/models/operations/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactivecrsaction.md index 0ec55e7f..7244a348 100644 --- a/docs/models/operations/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactivecrsaction.md +++ b/docs/models/operations/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactivecrsaction.md @@ -7,7 +7,7 @@ import { PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCr let value: PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsAction = - "log"; + "deny"; ``` ## Values diff --git a/docs/models/operations/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactivecrsgenaction.md b/docs/models/operations/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactivecrsgenaction.md index da7de980..df3082bf 100644 --- a/docs/models/operations/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactivecrsgenaction.md +++ b/docs/models/operations/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactivecrsgenaction.md @@ -9,7 +9,7 @@ import { let value: PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsGenAction = - "deny"; + "log"; ``` ## Values diff --git a/docs/models/operations/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactivecrsmaaction.md b/docs/models/operations/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactivecrsmaaction.md index 76f13199..bd1cfd3f 100644 --- a/docs/models/operations/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactivecrsmaaction.md +++ b/docs/models/operations/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactivecrsmaaction.md @@ -7,7 +7,7 @@ import { PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCr let value: PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsMaAction = - "deny"; + "log"; ``` ## Values diff --git a/docs/models/operations/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactivecrssqliaction.md b/docs/models/operations/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactivecrssqliaction.md index a2a9f833..cc98f0db 100644 --- a/docs/models/operations/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactivecrssqliaction.md +++ b/docs/models/operations/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactivecrssqliaction.md @@ -9,7 +9,7 @@ import { let value: PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSqliAction = - "deny"; + "log"; ``` ## Values diff --git a/docs/models/operations/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactivecrsxssaction.md b/docs/models/operations/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactivecrsxssaction.md index ea4c1866..f88a89c9 100644 --- a/docs/models/operations/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactivecrsxssaction.md +++ b/docs/models/operations/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactivecrsxssaction.md @@ -9,7 +9,7 @@ import { let value: PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsXssAction = - "log"; + "deny"; ``` ## Values diff --git a/docs/models/operations/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactiverulesaction.md b/docs/models/operations/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactiverulesaction.md index 08f9690c..234a7ada 100644 --- a/docs/models/operations/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactiverulesaction.md +++ b/docs/models/operations/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactiverulesaction.md @@ -7,7 +7,7 @@ import { PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRu let value: PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesAction = - "bypass"; + "deny"; ``` ## Values diff --git a/docs/models/operations/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactiverulesactionaction.md b/docs/models/operations/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactiverulesactionaction.md index 9d3aa10a..01907620 100644 --- a/docs/models/operations/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactiverulesactionaction.md +++ b/docs/models/operations/putfirewallconfigsecurityresponse200applicationjsonresponsebodyactiverulesactionaction.md @@ -9,7 +9,7 @@ import { let value: PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesActionAction = - "rate_limit"; + "log"; ``` ## Values diff --git a/docs/models/operations/putfirewallconfigsecuritytype.md b/docs/models/operations/putfirewallconfigsecuritytype.md index dcf94bbc..a0a608c1 100644 --- a/docs/models/operations/putfirewallconfigsecuritytype.md +++ b/docs/models/operations/putfirewallconfigsecuritytype.md @@ -5,7 +5,7 @@ ```typescript import { PutFirewallConfigSecurityType } from "@vercel/sdk/models/operations/putfirewallconfig.js"; -let value: PutFirewallConfigSecurityType = "target_path"; +let value: PutFirewallConfigSecurityType = "geo_as_number"; ``` ## Values diff --git a/docs/models/operations/putfirewallconfigsecurityvalue.md b/docs/models/operations/putfirewallconfigsecurityvalue.md index f17cb838..b9b91ac1 100644 --- a/docs/models/operations/putfirewallconfigsecurityvalue.md +++ b/docs/models/operations/putfirewallconfigsecurityvalue.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 5395.37; +const value: number = 7132.46; ``` ### `string[]` diff --git a/docs/models/operations/putfirewallconfigsqli.md b/docs/models/operations/putfirewallconfigsqli.md index a2eea1aa..ea792326 100644 --- a/docs/models/operations/putfirewallconfigsqli.md +++ b/docs/models/operations/putfirewallconfigsqli.md @@ -7,7 +7,7 @@ import { PutFirewallConfigSqli } from "@vercel/sdk/models/operations/putfirewall let value: PutFirewallConfigSqli = { active: false, - action: "deny", + action: "log", }; ``` diff --git a/docs/models/operations/putfirewallconfigtype.md b/docs/models/operations/putfirewallconfigtype.md index 2c4d0347..6c809ee7 100644 --- a/docs/models/operations/putfirewallconfigtype.md +++ b/docs/models/operations/putfirewallconfigtype.md @@ -5,7 +5,7 @@ ```typescript import { PutFirewallConfigType } from "@vercel/sdk/models/operations/putfirewallconfig.js"; -let value: PutFirewallConfigType = "user_agent"; +let value: PutFirewallConfigType = "geo_country"; ``` ## Values diff --git a/docs/models/operations/putfirewallconfigvalue.md b/docs/models/operations/putfirewallconfigvalue.md index c77757aa..120850cd 100644 --- a/docs/models/operations/putfirewallconfigvalue.md +++ b/docs/models/operations/putfirewallconfigvalue.md @@ -20,6 +20,6 @@ const value: string[] = [ ### `number` ```typescript -const value: number = 6925.55; +const value: number = 2953.07; ``` diff --git a/docs/models/operations/queryparamprovider.md b/docs/models/operations/queryparamprovider.md index 70b16d6e..69907805 100644 --- a/docs/models/operations/queryparamprovider.md +++ b/docs/models/operations/queryparamprovider.md @@ -5,7 +5,7 @@ ```typescript import { QueryParamProvider } from "@vercel/sdk/models/operations/searchrepo.js"; -let value: QueryParamProvider = "github"; +let value: QueryParamProvider = "bitbucket"; ``` ## Values diff --git a/docs/models/operations/queryparamtarget.md b/docs/models/operations/queryparamtarget.md new file mode 100644 index 00000000..17045fb7 --- /dev/null +++ b/docs/models/operations/queryparamtarget.md @@ -0,0 +1,17 @@ +# QueryParamTarget + +Filters on the target of the domain. Can be either \"production\", \"preview\" + +## Example Usage + +```typescript +import { QueryParamTarget } from "@vercel/sdk/models/operations/getprojectdomains.js"; + +let value: QueryParamTarget = "production"; +``` + +## Values + +```typescript +"production" | "preview" +``` \ No newline at end of file diff --git a/docs/models/operations/quote.md b/docs/models/operations/quote.md index fa73e05e..31fe4815 100644 --- a/docs/models/operations/quote.md +++ b/docs/models/operations/quote.md @@ -7,7 +7,7 @@ import { Quote } from "@vercel/sdk/models/operations/getconfigurations.js"; let value: Quote = { line: "", - amount: "748.72", + amount: "181.26", }; ``` diff --git a/docs/models/operations/ratelimit.md b/docs/models/operations/ratelimit.md index b344ff0f..46a9bce0 100644 --- a/docs/models/operations/ratelimit.md +++ b/docs/models/operations/ratelimit.md @@ -7,9 +7,9 @@ ```typescript const value: operations.RateLimit1 = { - algo: "fixed_window", - window: 2305.95, - limit: 3440.10, + algo: "token_bucket", + window: 2304.00, + limit: 4266.91, keys: [ "", ], diff --git a/docs/models/operations/ratelimit1.md b/docs/models/operations/ratelimit1.md index 8abb7003..629411c3 100644 --- a/docs/models/operations/ratelimit1.md +++ b/docs/models/operations/ratelimit1.md @@ -6,9 +6,9 @@ import { RateLimit1 } from "@vercel/sdk/models/operations/putfirewallconfig.js"; let value: RateLimit1 = { - algo: "fixed_window", - window: 7053.07, - limit: 3656.76, + algo: "token_bucket", + window: 2580.36, + limit: 4733.86, keys: [ "", ], diff --git a/docs/models/operations/ratelimitaction.md b/docs/models/operations/ratelimitaction.md index 482df8c3..6f9e3f72 100644 --- a/docs/models/operations/ratelimitaction.md +++ b/docs/models/operations/ratelimitaction.md @@ -6,7 +6,7 @@ ### `operations.Action1` ```typescript -const value: operations.Action1 = "rate_limit"; +const value: operations.Action1 = "log"; ``` ### `any` diff --git a/docs/models/operations/rce.md b/docs/models/operations/rce.md index 3055fcb8..0aaa41d4 100644 --- a/docs/models/operations/rce.md +++ b/docs/models/operations/rce.md @@ -13,7 +13,7 @@ let value: Rce = { ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | -| `active` | *boolean* | :heavy_check_mark: | N/A | -| `action` | [operations.PutFirewallConfigSecurityRequestRequestBodyAction](../../models/operations/putfirewallconfigsecurityrequestrequestbodyaction.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | +| `active` | *boolean* | :heavy_check_mark: | N/A | +| `action` | [operations.PutFirewallConfigSecurityRequestRequestBodyCrsAction](../../models/operations/putfirewallconfigsecurityrequestrequestbodycrsaction.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/readystate.md b/docs/models/operations/readystate.md index 408c6373..97a805d4 100644 --- a/docs/models/operations/readystate.md +++ b/docs/models/operations/readystate.md @@ -5,7 +5,7 @@ ```typescript import { ReadyState } from "@vercel/sdk/models/operations/createdeployment.js"; -let value: ReadyState = "READY"; +let value: ReadyState = "CANCELED"; ``` ## Values diff --git a/docs/models/operations/reasons.md b/docs/models/operations/reasons.md index 1f89e89d..8bf1005b 100644 --- a/docs/models/operations/reasons.md +++ b/docs/models/operations/reasons.md @@ -9,7 +9,7 @@ import { Reasons } from "@vercel/sdk/models/operations/deleteteam.js"; let value: Reasons = { slug: "", - description: "singe that condense", + description: "positively rosemary shaft barring happily obesity lamp", }; ``` diff --git a/docs/models/operations/records.md b/docs/models/operations/records.md index 08952102..25285bdb 100644 --- a/docs/models/operations/records.md +++ b/docs/models/operations/records.md @@ -9,13 +9,13 @@ let value: Records = { id: "", slug: "", name: "", - type: "SRV", + type: "HTTPS", value: "", creator: "", - created: 3172.60, - updated: 9792.70, - createdAt: 6496.56, - updatedAt: 8809.98, + created: 7416.03, + updated: 7705.44, + createdAt: 9082.48, + updatedAt: 1503.50, }; ``` diff --git a/docs/models/operations/redirects.md b/docs/models/operations/redirects.md new file mode 100644 index 00000000..25962cf8 --- /dev/null +++ b/docs/models/operations/redirects.md @@ -0,0 +1,17 @@ +# Redirects + +Excludes redirect project domains when \"false\". Includes redirect project domains when \"true\" (default). + +## Example Usage + +```typescript +import { Redirects } from "@vercel/sdk/models/operations/getprojectdomains.js"; + +let value: Redirects = "true"; +``` + +## Values + +```typescript +"true" | "false" +``` \ No newline at end of file diff --git a/docs/models/operations/removeprojectenvresponsebody.md b/docs/models/operations/removeprojectenvresponsebody.md index 09948892..5c7537e2 100644 --- a/docs/models/operations/removeprojectenvresponsebody.md +++ b/docs/models/operations/removeprojectenvresponsebody.md @@ -10,7 +10,7 @@ The environment variable was successfully removed ```typescript const value: operations.RemoveProjectEnvResponseBody1[] = [ { - type: "sensitive", + type: "plain", key: "", value: "", }, @@ -21,7 +21,7 @@ const value: operations.RemoveProjectEnvResponseBody1[] = [ ```typescript const value: operations.RemoveProjectEnvResponseBody2 = { - type: "plain", + type: "system", key: "", value: "", }; @@ -31,7 +31,7 @@ const value: operations.RemoveProjectEnvResponseBody2 = { ```typescript const value: operations.RemoveProjectEnvResponseBody3 = { - type: "encrypted", + type: "plain", key: "", value: "", }; diff --git a/docs/models/operations/removeprojectenvresponsebody1.md b/docs/models/operations/removeprojectenvresponsebody1.md index ce818545..bc1fb18c 100644 --- a/docs/models/operations/removeprojectenvresponsebody1.md +++ b/docs/models/operations/removeprojectenvresponsebody1.md @@ -6,7 +6,7 @@ import { RemoveProjectEnvResponseBody1 } from "@vercel/sdk/models/operations/removeprojectenv.js"; let value: RemoveProjectEnvResponseBody1 = { - type: "secret", + type: "sensitive", key: "", value: "", }; diff --git a/docs/models/operations/removeprojectenvresponsebody2.md b/docs/models/operations/removeprojectenvresponsebody2.md index 9dd0d11c..eacba3ed 100644 --- a/docs/models/operations/removeprojectenvresponsebody2.md +++ b/docs/models/operations/removeprojectenvresponsebody2.md @@ -6,7 +6,7 @@ import { RemoveProjectEnvResponseBody2 } from "@vercel/sdk/models/operations/removeprojectenv.js"; let value: RemoveProjectEnvResponseBody2 = { - type: "system", + type: "plain", key: "", value: "", }; diff --git a/docs/models/operations/removeprojectenvresponsebody3.md b/docs/models/operations/removeprojectenvresponsebody3.md index e9bfd849..ca19e6a6 100644 --- a/docs/models/operations/removeprojectenvresponsebody3.md +++ b/docs/models/operations/removeprojectenvresponsebody3.md @@ -6,7 +6,7 @@ import { RemoveProjectEnvResponseBody3 } from "@vercel/sdk/models/operations/removeprojectenv.js"; let value: RemoveProjectEnvResponseBody3 = { - type: "sensitive", + type: "secret", key: "", value: "", }; diff --git a/docs/models/operations/removeprojectenvresponsebodyprojectsresponsetarget.md b/docs/models/operations/removeprojectenvresponsebodyprojectsresponsetarget.md index d2482d60..8e4aa1dd 100644 --- a/docs/models/operations/removeprojectenvresponsebodyprojectsresponsetarget.md +++ b/docs/models/operations/removeprojectenvresponsebodyprojectsresponsetarget.md @@ -7,13 +7,13 @@ ```typescript const value: operations.RemoveProjectEnvTargetProjectsResponse1[] = [ - "production", + "preview", ]; ``` ### `operations.RemoveProjectEnvTargetProjectsResponse2` ```typescript -const value: operations.RemoveProjectEnvTargetProjectsResponse2 = "development"; +const value: operations.RemoveProjectEnvTargetProjectsResponse2 = "production"; ``` diff --git a/docs/models/operations/removeprojectenvresponsebodyprojectsresponsetype.md b/docs/models/operations/removeprojectenvresponsebodyprojectsresponsetype.md index 39140d47..21bdd6bd 100644 --- a/docs/models/operations/removeprojectenvresponsebodyprojectsresponsetype.md +++ b/docs/models/operations/removeprojectenvresponsebodyprojectsresponsetype.md @@ -5,7 +5,7 @@ ```typescript import { RemoveProjectEnvResponseBodyProjectsResponseType } from "@vercel/sdk/models/operations/removeprojectenv.js"; -let value: RemoveProjectEnvResponseBodyProjectsResponseType = "secret"; +let value: RemoveProjectEnvResponseBodyProjectsResponseType = "sensitive"; ``` ## Values diff --git a/docs/models/operations/removeprojectenvresponsebodyprojectstarget.md b/docs/models/operations/removeprojectenvresponsebodyprojectstarget.md index 9f5c7050..87fbdaec 100644 --- a/docs/models/operations/removeprojectenvresponsebodyprojectstarget.md +++ b/docs/models/operations/removeprojectenvresponsebodyprojectstarget.md @@ -7,13 +7,13 @@ ```typescript const value: operations.RemoveProjectEnvTargetProjects1[] = [ - "development", + "production", ]; ``` ### `operations.RemoveProjectEnvTargetProjects2` ```typescript -const value: operations.RemoveProjectEnvTargetProjects2 = "preview"; +const value: operations.RemoveProjectEnvTargetProjects2 = "development"; ``` diff --git a/docs/models/operations/removeprojectenvresponsebodyprojectstype.md b/docs/models/operations/removeprojectenvresponsebodyprojectstype.md index 4b30f31f..4a2d3486 100644 --- a/docs/models/operations/removeprojectenvresponsebodyprojectstype.md +++ b/docs/models/operations/removeprojectenvresponsebodyprojectstype.md @@ -5,7 +5,7 @@ ```typescript import { RemoveProjectEnvResponseBodyProjectsType } from "@vercel/sdk/models/operations/removeprojectenv.js"; -let value: RemoveProjectEnvResponseBodyProjectsType = "encrypted"; +let value: RemoveProjectEnvResponseBodyProjectsType = "sensitive"; ``` ## Values diff --git a/docs/models/operations/removeprojectenvresponsebodytype.md b/docs/models/operations/removeprojectenvresponsebodytype.md index cd161921..4e1d61a8 100644 --- a/docs/models/operations/removeprojectenvresponsebodytype.md +++ b/docs/models/operations/removeprojectenvresponsebodytype.md @@ -5,7 +5,7 @@ ```typescript import { RemoveProjectEnvResponseBodyType } from "@vercel/sdk/models/operations/removeprojectenv.js"; -let value: RemoveProjectEnvResponseBodyType = "system"; +let value: RemoveProjectEnvResponseBodyType = "secret"; ``` ## Values diff --git a/docs/models/operations/removeprojectenvtarget2.md b/docs/models/operations/removeprojectenvtarget2.md index 0fc90b09..23e984e8 100644 --- a/docs/models/operations/removeprojectenvtarget2.md +++ b/docs/models/operations/removeprojectenvtarget2.md @@ -5,7 +5,7 @@ ```typescript import { RemoveProjectEnvTarget2 } from "@vercel/sdk/models/operations/removeprojectenv.js"; -let value: RemoveProjectEnvTarget2 = "development"; +let value: RemoveProjectEnvTarget2 = "production"; ``` ## Values diff --git a/docs/models/operations/removeprojectenvtargetprojectsresponse1.md b/docs/models/operations/removeprojectenvtargetprojectsresponse1.md index 54d96314..76cd275e 100644 --- a/docs/models/operations/removeprojectenvtargetprojectsresponse1.md +++ b/docs/models/operations/removeprojectenvtargetprojectsresponse1.md @@ -5,7 +5,7 @@ ```typescript import { RemoveProjectEnvTargetProjectsResponse1 } from "@vercel/sdk/models/operations/removeprojectenv.js"; -let value: RemoveProjectEnvTargetProjectsResponse1 = "development"; +let value: RemoveProjectEnvTargetProjectsResponse1 = "preview"; ``` ## Values diff --git a/docs/models/operations/removeprojectenvtargetprojectsresponse2.md b/docs/models/operations/removeprojectenvtargetprojectsresponse2.md index b8e0f00a..1bfb54e6 100644 --- a/docs/models/operations/removeprojectenvtargetprojectsresponse2.md +++ b/docs/models/operations/removeprojectenvtargetprojectsresponse2.md @@ -5,7 +5,7 @@ ```typescript import { RemoveProjectEnvTargetProjectsResponse2 } from "@vercel/sdk/models/operations/removeprojectenv.js"; -let value: RemoveProjectEnvTargetProjectsResponse2 = "preview"; +let value: RemoveProjectEnvTargetProjectsResponse2 = "development"; ``` ## Values diff --git a/docs/models/operations/repoid.md b/docs/models/operations/repoid.md index 72461f0a..d8ef65ce 100644 --- a/docs/models/operations/repoid.md +++ b/docs/models/operations/repoid.md @@ -6,7 +6,7 @@ ### `number` ```typescript -const value: number = 5488.46; +const value: number = 1397.46; ``` ### `string` diff --git a/docs/models/operations/repos.md b/docs/models/operations/repos.md index 33a2d7c7..94bd7b0e 100644 --- a/docs/models/operations/repos.md +++ b/docs/models/operations/repos.md @@ -7,19 +7,19 @@ import { Repos } from "@vercel/sdk/models/operations/searchrepo.js"; let value: Repos = { id: "", - provider: "github", - url: "https://whopping-scaffold.com/", + provider: "bitbucket", + url: "https://waterlogged-beret.info/", name: "", slug: "", namespace: "", owner: { - id: 4137.68, + id: "", name: "", }, ownerType: "user", private: false, defaultBranch: "", - updatedAt: 1620.73, + updatedAt: 5537.66, }; ``` diff --git a/docs/models/operations/requestaccesstoteamgituserid.md b/docs/models/operations/requestaccesstoteamgituserid.md index b12a6a4a..11456450 100644 --- a/docs/models/operations/requestaccesstoteamgituserid.md +++ b/docs/models/operations/requestaccesstoteamgituserid.md @@ -12,6 +12,6 @@ const value: string = ""; ### `number` ```typescript -const value: number = 7149.32; +const value: number = 5080.44; ``` diff --git a/docs/models/operations/requestaccesstoteamjoinedfrom.md b/docs/models/operations/requestaccesstoteamjoinedfrom.md index 4c6c509e..d80dc30c 100644 --- a/docs/models/operations/requestaccesstoteamjoinedfrom.md +++ b/docs/models/operations/requestaccesstoteamjoinedfrom.md @@ -6,7 +6,7 @@ import { RequestAccessToTeamJoinedFrom } from "@vercel/sdk/models/operations/requestaccesstoteam.js"; let value: RequestAccessToTeamJoinedFrom = { - origin: "teams", + origin: "feedback", }; ``` diff --git a/docs/models/operations/requestaccesstoteamorigin.md b/docs/models/operations/requestaccesstoteamorigin.md index 0560afc4..66e413d1 100644 --- a/docs/models/operations/requestaccesstoteamorigin.md +++ b/docs/models/operations/requestaccesstoteamorigin.md @@ -5,7 +5,7 @@ ```typescript import { RequestAccessToTeamOrigin } from "@vercel/sdk/models/operations/requestaccesstoteam.js"; -let value: RequestAccessToTeamOrigin = "link"; +let value: RequestAccessToTeamOrigin = "saml"; ``` ## Values diff --git a/docs/models/operations/requestbody1.md b/docs/models/operations/requestbody1.md index a80fcc2f..43d29f74 100644 --- a/docs/models/operations/requestbody1.md +++ b/docs/models/operations/requestbody1.md @@ -7,7 +7,7 @@ import { RequestBody1 } from "@vercel/sdk/models/operations/createrecord.js"; let value: RequestBody1 = { name: "subdomain", - type: "A", + type: "MX", ttl: 60, value: "192.0.2.42", comment: "used to verify ownership of domain", diff --git a/docs/models/operations/requestbody2.md b/docs/models/operations/requestbody2.md index 56d6adee..8cf3a9e0 100644 --- a/docs/models/operations/requestbody2.md +++ b/docs/models/operations/requestbody2.md @@ -7,7 +7,7 @@ import { RequestBody2 } from "@vercel/sdk/models/operations/createrecord.js"; let value: RequestBody2 = { name: "subdomain", - type: "AAAA", + type: "NS", ttl: 60, value: "2001:DB8::42", comment: "used to verify ownership of domain", diff --git a/docs/models/operations/requestbody3.md b/docs/models/operations/requestbody3.md index 964dc9ac..03cb8fa9 100644 --- a/docs/models/operations/requestbody3.md +++ b/docs/models/operations/requestbody3.md @@ -7,7 +7,7 @@ import { RequestBody3 } from "@vercel/sdk/models/operations/createrecord.js"; let value: RequestBody3 = { name: "subdomain", - type: "TXT", + type: "CAA", ttl: 60, value: "cname.vercel-dns.com", comment: "used to verify ownership of domain", diff --git a/docs/models/operations/requestbody5.md b/docs/models/operations/requestbody5.md index cf2986e2..aff6e800 100644 --- a/docs/models/operations/requestbody5.md +++ b/docs/models/operations/requestbody5.md @@ -7,7 +7,7 @@ import { RequestBody5 } from "@vercel/sdk/models/operations/createrecord.js"; let value: RequestBody5 = { name: "subdomain", - type: "CAA", + type: "CNAME", ttl: 60, value: "cname.vercel-dns.com", comment: "used to verify ownership of domain", diff --git a/docs/models/operations/requestbody6.md b/docs/models/operations/requestbody6.md index b2392e25..801dfe6f 100644 --- a/docs/models/operations/requestbody6.md +++ b/docs/models/operations/requestbody6.md @@ -9,10 +9,10 @@ import { RequestBody6 } from "@vercel/sdk/models/operations/updatefirewallconfig let value: RequestBody6 = { action: "crs.update", - id: "php", + id: "sf", value: { active: false, - action: "log", + action: "deny", }, }; ``` diff --git a/docs/models/operations/requestbody8.md b/docs/models/operations/requestbody8.md index 911bd555..b4d3a00b 100644 --- a/docs/models/operations/requestbody8.md +++ b/docs/models/operations/requestbody8.md @@ -10,8 +10,8 @@ import { RequestBody8 } from "@vercel/sdk/models/operations/updatefirewallconfig let value: RequestBody8 = { action: "ip.insert", value: { - hostname: "long-director.org", - ip: "236.249.115.58", + hostname: "soupy-drive.info", + ip: "147.255.59.90", action: "challenge", }, }; diff --git a/docs/models/operations/requestbody9.md b/docs/models/operations/requestbody9.md index 40390b37..346d9689 100644 --- a/docs/models/operations/requestbody9.md +++ b/docs/models/operations/requestbody9.md @@ -11,9 +11,9 @@ let value: RequestBody9 = { action: "ip.update", id: "", value: { - hostname: "ornery-technologist.info", - ip: "bdcc:2f5f:ba5f:2fcb:96bd:6b57:4fca:28d1", - action: "deny", + hostname: "outlying-tennis.com", + ip: "b07f:af97:ccfb:e92c:d9eb:dcc2:f5fb:a5f2", + action: "bypass", }, }; ``` diff --git a/docs/models/operations/requestbodyconditiongroup.md b/docs/models/operations/requestbodyconditiongroup.md index dc40fa34..8462f34d 100644 --- a/docs/models/operations/requestbodyconditiongroup.md +++ b/docs/models/operations/requestbodyconditiongroup.md @@ -8,8 +8,8 @@ import { RequestBodyConditionGroup } from "@vercel/sdk/models/operations/updatef let value: RequestBodyConditionGroup = { conditions: [ { - type: "scheme", - op: "neq", + type: "environment", + op: "suf", }, ], }; diff --git a/docs/models/operations/requestbodyconditions.md b/docs/models/operations/requestbodyconditions.md index b2ee45c8..e7ea2067 100644 --- a/docs/models/operations/requestbodyconditions.md +++ b/docs/models/operations/requestbodyconditions.md @@ -6,8 +6,8 @@ import { RequestBodyConditions } from "@vercel/sdk/models/operations/updatefirewallconfig.js"; let value: RequestBodyConditions = { - type: "geo_country_region", - op: "nex", + type: "geo_as_number", + op: "re", }; ``` diff --git a/docs/models/operations/requestbodyop.md b/docs/models/operations/requestbodyop.md index 2949d69a..bdb7f806 100644 --- a/docs/models/operations/requestbodyop.md +++ b/docs/models/operations/requestbodyop.md @@ -5,7 +5,7 @@ ```typescript import { RequestBodyOp } from "@vercel/sdk/models/operations/updatefirewallconfig.js"; -let value: RequestBodyOp = "gte"; +let value: RequestBodyOp = "pre"; ``` ## Values diff --git a/docs/models/operations/requestbodyratelimit.md b/docs/models/operations/requestbodyratelimit.md index 46838aad..d9303de3 100644 --- a/docs/models/operations/requestbodyratelimit.md +++ b/docs/models/operations/requestbodyratelimit.md @@ -8,8 +8,8 @@ ```typescript const value: operations.UpdateFirewallConfigRateLimit1 = { algo: "token_bucket", - window: 6091.61, - limit: 9615.75, + window: 302.88, + limit: 4069.46, keys: [ "", ], diff --git a/docs/models/operations/requestbodytype.md b/docs/models/operations/requestbodytype.md index 0399d64a..c8c25ae4 100644 --- a/docs/models/operations/requestbodytype.md +++ b/docs/models/operations/requestbodytype.md @@ -7,7 +7,7 @@ The type of record, it could be one of the valid DNS records. ```typescript import { RequestBodyType } from "@vercel/sdk/models/operations/createrecord.js"; -let value: RequestBodyType = "TXT"; +let value: RequestBodyType = "MX"; ``` ## Values diff --git a/docs/models/operations/requestbodyvalue.md b/docs/models/operations/requestbodyvalue.md index 3e23df46..bdcbcb47 100644 --- a/docs/models/operations/requestbodyvalue.md +++ b/docs/models/operations/requestbodyvalue.md @@ -12,7 +12,7 @@ let value: RequestBodyValue = { { conditions: [ { - type: "environment", + type: "cookie", op: "neq", }, ], diff --git a/docs/models/operations/requestdeletereasons.md b/docs/models/operations/requestdeletereasons.md index 24be58a8..bd0110f9 100644 --- a/docs/models/operations/requestdeletereasons.md +++ b/docs/models/operations/requestdeletereasons.md @@ -9,7 +9,7 @@ import { RequestDeleteReasons } from "@vercel/sdk/models/operations/requestdelet let value: RequestDeleteReasons = { slug: "", - description: "whack orient greedily", + description: "woot needily academics ack", }; ``` diff --git a/docs/models/operations/requestdeleteresponsebody.md b/docs/models/operations/requestdeleteresponsebody.md index d31e9efc..e361ee80 100644 --- a/docs/models/operations/requestdeleteresponsebody.md +++ b/docs/models/operations/requestdeleteresponsebody.md @@ -9,7 +9,7 @@ import { RequestDeleteResponseBody } from "@vercel/sdk/models/operations/request let value: RequestDeleteResponseBody = { id: "", - email: "Hattie_Hackett@yahoo.com", + email: "Tillman_Emmerich19@hotmail.com", message: "Verification email sent", }; ``` diff --git a/docs/models/operations/responsebody3.md b/docs/models/operations/responsebody3.md index b07dad10..fb4c6f61 100644 --- a/docs/models/operations/responsebody3.md +++ b/docs/models/operations/responsebody3.md @@ -13,13 +13,13 @@ let value: ResponseBody3 = { id: "", slug: "", name: "", - type: "AAAA", + type: "SRV", value: "", creator: "", - created: 4047.74, - updated: 6012.77, - createdAt: 7719.31, - updatedAt: 4130.86, + created: 7898.70, + updated: 3172.60, + createdAt: 9792.70, + updatedAt: 6496.56, }, ], pagination: { diff --git a/docs/models/operations/responsebodyaliasassignedat.md b/docs/models/operations/responsebodyaliasassignedat.md index 0f9fed84..5fbcfdfd 100644 --- a/docs/models/operations/responsebodyaliasassignedat.md +++ b/docs/models/operations/responsebodyaliasassignedat.md @@ -6,7 +6,7 @@ ### `number` ```typescript -const value: number = 245.77; +const value: number = 8268.05; ``` ### `boolean` diff --git a/docs/models/operations/responsebodybackup.md b/docs/models/operations/responsebodybackup.md index bcc3a3c8..4c35cb98 100644 --- a/docs/models/operations/responsebodybackup.md +++ b/docs/models/operations/responsebodybackup.md @@ -9,7 +9,7 @@ let value: ResponseBodyBackup = { digest: "", items: {}, slug: "", - updatedAt: 9890.88, + updatedAt: 3.67, }; ``` diff --git a/docs/models/operations/responsebodybillingplan.md b/docs/models/operations/responsebodybillingplan.md index b8c5ba46..255f86f2 100644 --- a/docs/models/operations/responsebodybillingplan.md +++ b/docs/models/operations/responsebodybillingplan.md @@ -7,10 +7,9 @@ import { ResponseBodyBillingPlan } from "@vercel/sdk/models/operations/getconfig let value: ResponseBodyBillingPlan = { id: "", - type: "subscription", + type: "prepayment", name: "", - description: - "anti browse develop freely summarise pick than heavily speedily out", + description: "now nephew equally cleverly", }; ``` diff --git a/docs/models/operations/responsebodychecksconclusion.md b/docs/models/operations/responsebodychecksconclusion.md index 287aaa18..5a6f77c3 100644 --- a/docs/models/operations/responsebodychecksconclusion.md +++ b/docs/models/operations/responsebodychecksconclusion.md @@ -5,7 +5,7 @@ ```typescript import { ResponseBodyChecksConclusion } from "@vercel/sdk/models/operations/getdeployment.js"; -let value: ResponseBodyChecksConclusion = "succeeded"; +let value: ResponseBodyChecksConclusion = "canceled"; ``` ## Values diff --git a/docs/models/operations/responsebodychecksstate.md b/docs/models/operations/responsebodychecksstate.md index fe8522c7..31547e8e 100644 --- a/docs/models/operations/responsebodychecksstate.md +++ b/docs/models/operations/responsebodychecksstate.md @@ -5,7 +5,7 @@ ```typescript import { ResponseBodyChecksState } from "@vercel/sdk/models/operations/getdeployment.js"; -let value: ResponseBodyChecksState = "completed"; +let value: ResponseBodyChecksState = "running"; ``` ## Values diff --git a/docs/models/operations/responsebodycrons.md b/docs/models/operations/responsebodycrons.md index 12f4058a..6b114603 100644 --- a/docs/models/operations/responsebodycrons.md +++ b/docs/models/operations/responsebodycrons.md @@ -7,7 +7,7 @@ import { ResponseBodyCrons } from "@vercel/sdk/models/operations/getdeployment.j let value: ResponseBodyCrons = { schedule: "", - path: "/tmp", + path: "/opt/bin", }; ``` diff --git a/docs/models/operations/responsebodydisabledreason.md b/docs/models/operations/responsebodydisabledreason.md index 09b9b1a2..2fa955c5 100644 --- a/docs/models/operations/responsebodydisabledreason.md +++ b/docs/models/operations/responsebodydisabledreason.md @@ -5,7 +5,7 @@ ```typescript import { ResponseBodyDisabledReason } from "@vercel/sdk/models/operations/getconfigurations.js"; -let value: ResponseBodyDisabledReason = "feature-not-available"; +let value: ResponseBodyDisabledReason = "disabled-by-admin"; ``` ## Values diff --git a/docs/models/operations/responsebodyframework.md b/docs/models/operations/responsebodyframework.md index 656999ce..623a5fae 100644 --- a/docs/models/operations/responsebodyframework.md +++ b/docs/models/operations/responsebodyframework.md @@ -5,7 +5,7 @@ ```typescript import { ResponseBodyFramework } from "@vercel/sdk/models/operations/getdeployment.js"; -let value: ResponseBodyFramework = "stencil"; +let value: ResponseBodyFramework = "astro"; ``` ## Values diff --git a/docs/models/operations/responsebodygitrepo.md b/docs/models/operations/responsebodygitrepo.md index 6e86a5c7..0cddc40a 100644 --- a/docs/models/operations/responsebodygitrepo.md +++ b/docs/models/operations/responsebodygitrepo.md @@ -8,14 +8,14 @@ ```typescript const value: operations.GetDeploymentGitRepo1 = { namespace: "", - projectId: 5024.53, + projectId: 9926.67, type: "gitlab", - url: "https://creamy-saloon.name/", - path: "/var/tmp", + url: "https://warmhearted-developing.info/", + path: "/usr/libdata", defaultBranch: "", name: "", private: false, - ownerType: "user", + ownerType: "team", }; ``` @@ -25,10 +25,10 @@ const value: operations.GetDeploymentGitRepo1 = { const value: operations.GetDeploymentGitRepo2 = { org: "", repo: "", - repoId: 9926.67, + repoId: 5663.12, type: "github", - repoOwnerId: 1186.16, - path: "/var/mail", + repoOwnerId: 1858.17, + path: "/etc/defaults", defaultBranch: "", name: "", private: false, @@ -45,11 +45,11 @@ const value: operations.GetDeploymentGitRepo3 = { slug: "", type: "bitbucket", workspaceUuid: "", - path: "/private", + path: "/opt", defaultBranch: "", name: "", private: false, - ownerType: "user", + ownerType: "team", }; ``` diff --git a/docs/models/operations/responsebodygitsource.md b/docs/models/operations/responsebodygitsource.md index f9eceb13..75028fdd 100644 --- a/docs/models/operations/responsebodygitsource.md +++ b/docs/models/operations/responsebodygitsource.md @@ -8,7 +8,7 @@ ```typescript const value: operations.GetDeploymentGitSource1 = { type: "github", - repoId: 1280.21, + repoId: 2808.59, }; ``` @@ -27,7 +27,7 @@ const value: operations.GetDeploymentGitSource2 = { ```typescript const value: operations.GetDeploymentGitSource3 = { type: "gitlab", - projectId: 20.65, + projectId: 7285.59, }; ``` @@ -57,7 +57,7 @@ const value: operations.GetDeploymentGitSource6 = { type: "custom", ref: "", sha: "", - gitUrl: "https://well-to-do-final.name/", + gitUrl: "https://squiggly-cafe.info/", }; ``` @@ -68,7 +68,7 @@ const value: operations.GetDeploymentGitSource7 = { type: "github", ref: "", sha: "", - repoId: 2808.59, + repoId: 2212.18, }; ``` @@ -79,7 +79,7 @@ const value: operations.GetDeploymentGitSource8 = { type: "gitlab", ref: "", sha: "", - projectId: 9478.22, + projectId: 6837.26, }; ``` diff --git a/docs/models/operations/responsebodyid.md b/docs/models/operations/responsebodyid.md index d5fda7d1..83e700f9 100644 --- a/docs/models/operations/responsebodyid.md +++ b/docs/models/operations/responsebodyid.md @@ -12,6 +12,6 @@ const value: string = ""; ### `number` ```typescript -const value: number = 4938.65; +const value: number = 9642.10; ``` diff --git a/docs/models/operations/responsebodyinstallationtype.md b/docs/models/operations/responsebodyinstallationtype.md index 7a350a73..67ad324a 100644 --- a/docs/models/operations/responsebodyinstallationtype.md +++ b/docs/models/operations/responsebodyinstallationtype.md @@ -7,7 +7,7 @@ Defines the installation type. - 'external' integrations are installed via the e ```typescript import { ResponseBodyInstallationType } from "@vercel/sdk/models/operations/getconfigurations.js"; -let value: ResponseBodyInstallationType = "external"; +let value: ResponseBodyInstallationType = "marketplace"; ``` ## Values diff --git a/docs/models/operations/responsebodyintegrations.md b/docs/models/operations/responsebodyintegrations.md index aa285172..e0428bb9 100644 --- a/docs/models/operations/responsebodyintegrations.md +++ b/docs/models/operations/responsebodyintegrations.md @@ -6,8 +6,8 @@ import { ResponseBodyIntegrations } from "@vercel/sdk/models/operations/getdeployment.js"; let value: ResponseBodyIntegrations = { - status: "skipped", - startedAt: 8002.56, + status: "ready", + startedAt: 1559.78, }; ``` diff --git a/docs/models/operations/responsebodyitems.md b/docs/models/operations/responsebodyitems.md index f03ce9c0..631dfa71 100644 --- a/docs/models/operations/responsebodyitems.md +++ b/docs/models/operations/responsebodyitems.md @@ -6,9 +6,9 @@ import { ResponseBodyItems } from "@vercel/sdk/models/operations/getedgeconfigbackup.js"; let value: ResponseBodyItems = { - updatedAt: 5199.85, - value: false, - createdAt: 7998.30, + updatedAt: 665.96, + value: 1530.97, + createdAt: 1975.19, }; ``` diff --git a/docs/models/operations/responsebodylambdas.md b/docs/models/operations/responsebodylambdas.md index a0e9a855..4118440b 100644 --- a/docs/models/operations/responsebodylambdas.md +++ b/docs/models/operations/responsebodylambdas.md @@ -10,7 +10,7 @@ import { ResponseBodyLambdas } from "@vercel/sdk/models/operations/getdeployment let value: ResponseBodyLambdas = { output: [ { - path: "/home/user", + path: "/var", functionName: "", }, ], diff --git a/docs/models/operations/responsebodynamespaceid.md b/docs/models/operations/responsebodynamespaceid.md index eef87775..633437c6 100644 --- a/docs/models/operations/responsebodynamespaceid.md +++ b/docs/models/operations/responsebodynamespaceid.md @@ -12,6 +12,6 @@ const value: string = ""; ### `number` ```typescript -const value: number = 5320.92; +const value: number = 2977.23; ``` diff --git a/docs/models/operations/responsebodyoutput.md b/docs/models/operations/responsebodyoutput.md index 48557d0f..4e8da668 100644 --- a/docs/models/operations/responsebodyoutput.md +++ b/docs/models/operations/responsebodyoutput.md @@ -6,7 +6,7 @@ import { ResponseBodyOutput } from "@vercel/sdk/models/operations/getdeployment.js"; let value: ResponseBodyOutput = { - path: "/mnt", + path: "/usr/src", functionName: "", }; ``` diff --git a/docs/models/operations/responsebodyownertype.md b/docs/models/operations/responsebodyownertype.md index 4e1e456b..7788b7e5 100644 --- a/docs/models/operations/responsebodyownertype.md +++ b/docs/models/operations/responsebodyownertype.md @@ -5,7 +5,7 @@ ```typescript import { ResponseBodyOwnerType } from "@vercel/sdk/models/operations/searchrepo.js"; -let value: ResponseBodyOwnerType = "team"; +let value: ResponseBodyOwnerType = "user"; ``` ## Values diff --git a/docs/models/operations/responsebodyplan.md b/docs/models/operations/responsebodyplan.md index a17af1b8..523b5bab 100644 --- a/docs/models/operations/responsebodyplan.md +++ b/docs/models/operations/responsebodyplan.md @@ -5,7 +5,7 @@ ```typescript import { ResponseBodyPlan } from "@vercel/sdk/models/operations/getdeployment.js"; -let value: ResponseBodyPlan = "hobby"; +let value: ResponseBodyPlan = "enterprise"; ``` ## Values diff --git a/docs/models/operations/responsebodyprovider.md b/docs/models/operations/responsebodyprovider.md index 8fbef68d..96ee39c1 100644 --- a/docs/models/operations/responsebodyprovider.md +++ b/docs/models/operations/responsebodyprovider.md @@ -5,7 +5,7 @@ ```typescript import { ResponseBodyProvider } from "@vercel/sdk/models/operations/searchrepo.js"; -let value: ResponseBodyProvider = "github"; +let value: ResponseBodyProvider = "bitbucket"; ``` ## Values diff --git a/docs/models/operations/responsebodyquote.md b/docs/models/operations/responsebodyquote.md index fb082c7a..122b17ec 100644 --- a/docs/models/operations/responsebodyquote.md +++ b/docs/models/operations/responsebodyquote.md @@ -7,7 +7,7 @@ import { ResponseBodyQuote } from "@vercel/sdk/models/operations/getconfiguratio let value: ResponseBodyQuote = { line: "", - amount: "797.53", + amount: "818.10", }; ``` diff --git a/docs/models/operations/responsebodyreadysubstate.md b/docs/models/operations/responsebodyreadysubstate.md index 5ad5ad49..41768ea4 100644 --- a/docs/models/operations/responsebodyreadysubstate.md +++ b/docs/models/operations/responsebodyreadysubstate.md @@ -7,7 +7,7 @@ Since June 2023 Substate of deployment when readyState is 'READY' Tracks whether ```typescript import { ResponseBodyReadySubstate } from "@vercel/sdk/models/operations/getdeployment.js"; -let value: ResponseBodyReadySubstate = "STAGED"; +let value: ResponseBodyReadySubstate = "PROMOTED"; ``` ## Values diff --git a/docs/models/operations/responsebodyrecords.md b/docs/models/operations/responsebodyrecords.md index d455478a..b20acc7c 100644 --- a/docs/models/operations/responsebodyrecords.md +++ b/docs/models/operations/responsebodyrecords.md @@ -9,13 +9,13 @@ let value: ResponseBodyRecords = { id: "", slug: "", name: "", - type: "SRV", + type: "AAAA", value: "", creator: "", - created: 5509.94, - updated: 9804.66, - createdAt: 5886.62, - updatedAt: 455.11, + created: 4047.74, + updated: 6012.77, + createdAt: 7719.31, + updatedAt: 4130.86, }; ``` diff --git a/docs/models/operations/responsebodyroutes.md b/docs/models/operations/responsebodyroutes.md index 8546cb40..4d6f299c 100644 --- a/docs/models/operations/responsebodyroutes.md +++ b/docs/models/operations/responsebodyroutes.md @@ -15,7 +15,7 @@ const value: operations.GetDeploymentRoutes1 = { ```typescript const value: operations.GetDeploymentRoutes2 = { - handle: "filesystem", + handle: "miss", }; ``` @@ -25,7 +25,7 @@ const value: operations.GetDeploymentRoutes2 = { const value: operations.GetDeploymentRoutes3 = { src: "", continue: false, - middleware: 194.62, + middleware: 3442.89, }; ``` diff --git a/docs/models/operations/responsebodysource.md b/docs/models/operations/responsebodysource.md index 50f8d0bf..f93cbb70 100644 --- a/docs/models/operations/responsebodysource.md +++ b/docs/models/operations/responsebodysource.md @@ -5,7 +5,7 @@ ```typescript import { ResponseBodySource } from "@vercel/sdk/models/operations/getdeployment.js"; -let value: ResponseBodySource = "cli"; +let value: ResponseBodySource = "v0-web"; ``` ## Values diff --git a/docs/models/operations/responsebodyuser.md b/docs/models/operations/responsebodyuser.md index a9d7efcf..217f8ab9 100644 --- a/docs/models/operations/responsebodyuser.md +++ b/docs/models/operations/responsebodyuser.md @@ -7,8 +7,8 @@ import { ResponseBodyUser } from "@vercel/sdk/models/operations/getedgeconfigbac let value: ResponseBodyUser = { id: "", - username: "Marlee58", - email: "Amir.Bruen@hotmail.com", + username: "Titus.Davis", + email: "Lola66@yahoo.com", }; ``` diff --git a/docs/models/operations/result.md b/docs/models/operations/result.md new file mode 100644 index 00000000..e3b963d7 --- /dev/null +++ b/docs/models/operations/result.md @@ -0,0 +1,15 @@ +# Result + +## Example Usage + +```typescript +import { Result } from "@vercel/sdk/models/operations/submitinvoice.js"; + +let value: Result = "notpaid"; +``` + +## Values + +```typescript +"paid" | "notpaid" +``` \ No newline at end of file diff --git a/docs/models/operations/rfi.md b/docs/models/operations/rfi.md index 9fe5111b..3dea19da 100644 --- a/docs/models/operations/rfi.md +++ b/docs/models/operations/rfi.md @@ -13,7 +13,7 @@ let value: Rfi = { ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | -| `active` | *boolean* | :heavy_check_mark: | N/A | -| `action` | [operations.PutFirewallConfigSecurityRequestAction](../../models/operations/putfirewallconfigsecurityrequestaction.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | +| `active` | *boolean* | :heavy_check_mark: | N/A | +| `action` | [operations.PutFirewallConfigSecurityRequestRequestBodyAction](../../models/operations/putfirewallconfigsecurityrequestrequestbodyaction.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/roles.md b/docs/models/operations/roles.md index 4dc4e170..0a6ccb69 100644 --- a/docs/models/operations/roles.md +++ b/docs/models/operations/roles.md @@ -6,7 +6,7 @@ ### `operations.Roles1` ```typescript -const value: operations.Roles1 = "VIEWER"; +const value: operations.Roles1 = "DEVELOPER"; ``` ### `operations.Roles2` diff --git a/docs/models/operations/roles1.md b/docs/models/operations/roles1.md index 00de9379..b2dd2250 100644 --- a/docs/models/operations/roles1.md +++ b/docs/models/operations/roles1.md @@ -5,7 +5,7 @@ ```typescript import { Roles1 } from "@vercel/sdk/models/operations/patchteam.js"; -let value: Roles1 = "VIEWER"; +let value: Roles1 = "CONTRIBUTOR"; ``` ## Values diff --git a/docs/models/operations/routes.md b/docs/models/operations/routes.md index 9a7fff0a..15fae1ef 100644 --- a/docs/models/operations/routes.md +++ b/docs/models/operations/routes.md @@ -15,7 +15,7 @@ const value: operations.Routes1 = { ```typescript const value: operations.Routes2 = { - handle: "miss", + handle: "rewrite", }; ``` @@ -25,7 +25,7 @@ const value: operations.Routes2 = { const value: operations.Routes3 = { src: "", continue: false, - middleware: 4008.80, + middleware: 9492.80, }; ``` diff --git a/docs/models/operations/routes2.md b/docs/models/operations/routes2.md index c5426a64..9ee3201d 100644 --- a/docs/models/operations/routes2.md +++ b/docs/models/operations/routes2.md @@ -6,7 +6,7 @@ import { Routes2 } from "@vercel/sdk/models/operations/createdeployment.js"; let value: Routes2 = { - handle: "error", + handle: "hit", }; ``` diff --git a/docs/models/operations/routes3.md b/docs/models/operations/routes3.md index 887f0044..fb7692a3 100644 --- a/docs/models/operations/routes3.md +++ b/docs/models/operations/routes3.md @@ -8,7 +8,7 @@ import { Routes3 } from "@vercel/sdk/models/operations/createdeployment.js"; let value: Routes3 = { src: "", continue: false, - middleware: 8661.35, + middleware: 4004.49, }; ``` diff --git a/docs/models/operations/routeshandle.md b/docs/models/operations/routeshandle.md index 01ba6afa..3b2095f4 100644 --- a/docs/models/operations/routeshandle.md +++ b/docs/models/operations/routeshandle.md @@ -5,7 +5,7 @@ ```typescript import { RoutesHandle } from "@vercel/sdk/models/operations/createdeployment.js"; -let value: RoutesHandle = "resource"; +let value: RoutesHandle = "miss"; ``` ## Values diff --git a/docs/models/operations/rules.md b/docs/models/operations/rules.md index 30dcf31f..e7ff0a4b 100644 --- a/docs/models/operations/rules.md +++ b/docs/models/operations/rules.md @@ -12,8 +12,8 @@ let value: Rules = { { conditions: [ { - type: "target_path", - op: "ex", + type: "environment", + op: "lte", }, ], }, diff --git a/docs/models/operations/sd.md b/docs/models/operations/sd.md index 3e30af4b..90fe1ed9 100644 --- a/docs/models/operations/sd.md +++ b/docs/models/operations/sd.md @@ -7,13 +7,13 @@ import { Sd } from "@vercel/sdk/models/operations/putfirewallconfig.js"; let value: Sd = { active: false, - action: "deny", + action: "log", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | -| `active` | *boolean* | :heavy_check_mark: | N/A | -| `action` | [operations.Action](../../models/operations/action.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `active` | *boolean* | :heavy_check_mark: | N/A | +| `action` | [operations.PutFirewallConfigAction](../../models/operations/putfirewallconfigaction.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/searchreporesponsebody.md b/docs/models/operations/searchreporesponsebody.md index 50a29c72..74a24f9e 100644 --- a/docs/models/operations/searchreporesponsebody.md +++ b/docs/models/operations/searchreporesponsebody.md @@ -15,24 +15,24 @@ const value: operations.SearchRepoResponseBody1 = {}; const value: operations.SearchRepoResponseBody2 = { gitAccount: { provider: "gitlab", - namespaceId: "", + namespaceId: 1731.93, }, repos: [ { - id: 7319.30, - provider: "github-custom-host", - url: "https://hateful-obligation.org/", + id: 276.53, + provider: "gitlab", + url: "https://squiggly-pupil.info/", name: "", slug: "", namespace: "", owner: { - id: "", + id: 5017.73, name: "", }, ownerType: "team", private: false, defaultBranch: "", - updatedAt: 276.53, + updatedAt: 4760.84, }, ], }; diff --git a/docs/models/operations/searchreporesponsebody2.md b/docs/models/operations/searchreporesponsebody2.md index f8531d46..443ae75b 100644 --- a/docs/models/operations/searchreporesponsebody2.md +++ b/docs/models/operations/searchreporesponsebody2.md @@ -7,25 +7,25 @@ import { SearchRepoResponseBody2 } from "@vercel/sdk/models/operations/searchrep let value: SearchRepoResponseBody2 = { gitAccount: { - provider: "bitbucket", - namespaceId: "", + provider: "github", + namespaceId: 6981.16, }, repos: [ { - id: 756.11, - provider: "github-custom-host", - url: "https://accomplished-marksman.com/", + id: "", + provider: "bitbucket", + url: "https://friendly-produce.net", name: "", slug: "", namespace: "", owner: { - id: 6981.16, + id: "", name: "", }, ownerType: "user", private: false, defaultBranch: "", - updatedAt: 9417.42, + updatedAt: 3591.07, }, ], }; diff --git a/docs/models/operations/searchreporesponsebodyid.md b/docs/models/operations/searchreporesponsebodyid.md index fe3d95e1..389728a0 100644 --- a/docs/models/operations/searchreporesponsebodyid.md +++ b/docs/models/operations/searchreporesponsebodyid.md @@ -12,6 +12,6 @@ const value: string = ""; ### `number` ```typescript -const value: number = 1263.68; +const value: number = 1663.25; ``` diff --git a/docs/models/operations/searchreporesponsebodyprovider.md b/docs/models/operations/searchreporesponsebodyprovider.md index 9fbffc9c..2a371157 100644 --- a/docs/models/operations/searchreporesponsebodyprovider.md +++ b/docs/models/operations/searchreporesponsebodyprovider.md @@ -5,7 +5,7 @@ ```typescript import { SearchRepoResponseBodyProvider } from "@vercel/sdk/models/operations/searchrepo.js"; -let value: SearchRepoResponseBodyProvider = "gitlab"; +let value: SearchRepoResponseBodyProvider = "bitbucket"; ``` ## Values diff --git a/docs/models/operations/secrets.md b/docs/models/operations/secrets.md new file mode 100644 index 00000000..0a90c3b4 --- /dev/null +++ b/docs/models/operations/secrets.md @@ -0,0 +1,19 @@ +# Secrets + +## Example Usage + +```typescript +import { Secrets } from "@vercel/sdk/models/operations/updateresourcesecrets.js"; + +let value: Secrets = { + name: "", + value: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `name` | *string* | :heavy_check_mark: | N/A | +| `value` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/seven.md b/docs/models/operations/seven.md index f571d6ee..ee90c8ff 100644 --- a/docs/models/operations/seven.md +++ b/docs/models/operations/seven.md @@ -6,7 +6,7 @@ import { Seven } from "@vercel/sdk/models/operations/createrecord.js"; let value: Seven = { - type: "CNAME", + type: "TXT", ttl: 60, srv: { priority: 10, diff --git a/docs/models/operations/sf.md b/docs/models/operations/sf.md index a2410392..e2e7304b 100644 --- a/docs/models/operations/sf.md +++ b/docs/models/operations/sf.md @@ -7,7 +7,7 @@ import { Sf } from "@vercel/sdk/models/operations/putfirewallconfig.js"; let value: Sf = { active: false, - action: "deny", + action: "log", }; ``` diff --git a/docs/models/operations/six.md b/docs/models/operations/six.md index c42148a9..c289c8d3 100644 --- a/docs/models/operations/six.md +++ b/docs/models/operations/six.md @@ -7,7 +7,7 @@ import { Six } from "@vercel/sdk/models/operations/createrecord.js"; let value: Six = { name: "subdomain", - type: "TXT", + type: "NS", ttl: 60, value: "10 mail.example.com.", mxPriority: 10, diff --git a/docs/models/operations/skipautodetectionconfirmation.md b/docs/models/operations/skipautodetectionconfirmation.md index 40c48e0f..562e59d8 100644 --- a/docs/models/operations/skipautodetectionconfirmation.md +++ b/docs/models/operations/skipautodetectionconfirmation.md @@ -7,7 +7,7 @@ Allows to skip framework detection so the API would not fail to ask for confirma ```typescript import { SkipAutoDetectionConfirmation } from "@vercel/sdk/models/operations/createdeployment.js"; -let value: SkipAutoDetectionConfirmation = "1"; +let value: SkipAutoDetectionConfirmation = "0"; ``` ## Values diff --git a/docs/models/operations/sources.md b/docs/models/operations/sources.md index cd41882e..6c9b93e3 100644 --- a/docs/models/operations/sources.md +++ b/docs/models/operations/sources.md @@ -5,7 +5,7 @@ ```typescript import { Sources } from "@vercel/sdk/models/operations/createlogdrain.js"; -let value: Sources = "build"; +let value: Sources = "lambda"; ``` ## Values diff --git a/docs/models/operations/sqli.md b/docs/models/operations/sqli.md index 08c84095..2409c53b 100644 --- a/docs/models/operations/sqli.md +++ b/docs/models/operations/sqli.md @@ -7,7 +7,7 @@ import { Sqli } from "@vercel/sdk/models/operations/putfirewallconfig.js"; let value: Sqli = { active: false, - action: "log", + action: "deny", }; ``` diff --git a/docs/models/operations/srv.md b/docs/models/operations/srv.md index 37378732..a2436d87 100644 --- a/docs/models/operations/srv.md +++ b/docs/models/operations/srv.md @@ -7,9 +7,9 @@ import { Srv } from "@vercel/sdk/models/operations/updaterecord.js"; let value: Srv = { target: "example2.com.", - weight: 722392, - port: 20816, - priority: 328954, + weight: 257821, + port: 48512, + priority: 628314, }; ``` diff --git a/docs/models/operations/state.md b/docs/models/operations/state.md index 4929e428..fdd3689a 100644 --- a/docs/models/operations/state.md +++ b/docs/models/operations/state.md @@ -1,17 +1,15 @@ # State -A constant with the final state of the deployment. - ## Example Usage ```typescript -import { State } from "@vercel/sdk/models/operations/deletedeployment.js"; +import { State } from "@vercel/sdk/models/operations/getinvoice.js"; -let value: State = "DELETED"; +let value: State = "pending"; ``` ## Values ```typescript -"DELETED" +"pending" | "scheduled" | "invoiced" | "paid" | "notpaid" | "refund_requested" | "refunded" ``` \ No newline at end of file diff --git a/docs/models/operations/submitbillingdatarequest.md b/docs/models/operations/submitbillingdatarequest.md new file mode 100644 index 00000000..73e92308 --- /dev/null +++ b/docs/models/operations/submitbillingdatarequest.md @@ -0,0 +1,18 @@ +# SubmitBillingDataRequest + +## Example Usage + +```typescript +import { SubmitBillingDataRequest } from "@vercel/sdk/models/operations/submitbillingdata.js"; + +let value: SubmitBillingDataRequest = { + integrationConfigurationId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | +| `integrationConfigurationId` | *string* | :heavy_check_mark: | N/A | +| `requestBody` | [operations.SubmitBillingDataRequestBody](../../models/operations/submitbillingdatarequestbody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/submitbillingdatarequestbody.md b/docs/models/operations/submitbillingdatarequestbody.md new file mode 100644 index 00000000..a84283d5 --- /dev/null +++ b/docs/models/operations/submitbillingdatarequestbody.md @@ -0,0 +1,48 @@ +# SubmitBillingDataRequestBody + +## Example Usage + +```typescript +import { SubmitBillingDataRequestBody } from "@vercel/sdk/models/operations/submitbillingdata.js"; + +let value: SubmitBillingDataRequestBody = { + timestamp: new Date("2022-07-07T14:30:34.396Z"), + eod: new Date("2023-04-19T07:11:20.698Z"), + period: { + start: new Date("2022-12-18T12:57:11.461Z"), + end: new Date("2022-03-23T05:46:16.749Z"), + }, + billing: { + items: [ + { + billingPlanId: "", + name: "", + price: "771.85", + quantity: 726.00, + units: "", + total: "", + }, + ], + }, + usage: [ + { + resourceId: "", + name: "", + type: "rate", + units: "", + dayValue: 2663.70, + periodValue: 3685.99, + }, + ], +}; +``` + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `timestamp` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_check_mark: | N/A | +| `eod` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_check_mark: | N/A | +| `period` | [operations.Period](../../models/operations/period.md) | :heavy_check_mark: | Period for the billing cycle. | +| `billing` | *operations.Billing* | :heavy_check_mark: | Billing data (interim invoicing data). | +| `usage` | [operations.Usage](../../models/operations/usage.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/submitbillingdatatype.md b/docs/models/operations/submitbillingdatatype.md new file mode 100644 index 00000000..80af7008 --- /dev/null +++ b/docs/models/operations/submitbillingdatatype.md @@ -0,0 +1,17 @@ +# SubmitBillingDataType + +\n Type of the metric.\n - total: measured total value, such as Database size\n - interval: usage during the period, such as i/o or number of queries.\n - rate: rate of usage, such as queries per second.\n + +## Example Usage + +```typescript +import { SubmitBillingDataType } from "@vercel/sdk/models/operations/submitbillingdata.js"; + +let value: SubmitBillingDataType = "interval"; +``` + +## Values + +```typescript +"total" | "interval" | "rate" +``` \ No newline at end of file diff --git a/docs/models/operations/submitinvoicediscounts.md b/docs/models/operations/submitinvoicediscounts.md new file mode 100644 index 00000000..326220c6 --- /dev/null +++ b/docs/models/operations/submitinvoicediscounts.md @@ -0,0 +1,25 @@ +# SubmitInvoiceDiscounts + +## Example Usage + +```typescript +import { SubmitInvoiceDiscounts } from "@vercel/sdk/models/operations/submitinvoice.js"; + +let value: SubmitInvoiceDiscounts = { + billingPlanId: "", + name: "", + amount: "810.98", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `resourceId` | *string* | :heavy_minus_sign: | Partner's resource ID. | +| `billingPlanId` | *string* | :heavy_check_mark: | Partner's billing plan ID. | +| `start` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Start and end are only needed if different from the period's start/end. | +| `end` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Start and end are only needed if different from the period's start/end. | +| `name` | *string* | :heavy_check_mark: | N/A | +| `details` | *string* | :heavy_minus_sign: | N/A | +| `amount` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/submitinvoiceitems.md b/docs/models/operations/submitinvoiceitems.md new file mode 100644 index 00000000..fd5aef0a --- /dev/null +++ b/docs/models/operations/submitinvoiceitems.md @@ -0,0 +1,31 @@ +# SubmitInvoiceItems + +## Example Usage + +```typescript +import { SubmitInvoiceItems } from "@vercel/sdk/models/operations/submitinvoice.js"; + +let value: SubmitInvoiceItems = { + billingPlanId: "", + name: "", + price: "145.05", + quantity: 590.23, + units: "", + total: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `resourceId` | *string* | :heavy_minus_sign: | Partner's resource ID. | +| `billingPlanId` | *string* | :heavy_check_mark: | Partner's billing plan ID. | +| `start` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Start and end are only needed if different from the period's start/end. | +| `end` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | Start and end are only needed if different from the period's start/end. | +| `name` | *string* | :heavy_check_mark: | N/A | +| `details` | *string* | :heavy_minus_sign: | N/A | +| `price` | *string* | :heavy_check_mark: | N/A | +| `quantity` | *number* | :heavy_check_mark: | N/A | +| `units` | *string* | :heavy_check_mark: | N/A | +| `total` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/submitinvoiceperiod.md b/docs/models/operations/submitinvoiceperiod.md new file mode 100644 index 00000000..f50efa16 --- /dev/null +++ b/docs/models/operations/submitinvoiceperiod.md @@ -0,0 +1,21 @@ +# SubmitInvoicePeriod + +Subscription period for this billing cycle. + +## Example Usage + +```typescript +import { SubmitInvoicePeriod } from "@vercel/sdk/models/operations/submitinvoice.js"; + +let value: SubmitInvoicePeriod = { + start: new Date("2022-08-29T07:55:29.814Z"), + end: new Date("2024-05-14T18:51:09.710Z"), +}; +``` + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `start` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_check_mark: | N/A | +| `end` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/submitinvoicerequest.md b/docs/models/operations/submitinvoicerequest.md new file mode 100644 index 00000000..99956f11 --- /dev/null +++ b/docs/models/operations/submitinvoicerequest.md @@ -0,0 +1,18 @@ +# SubmitInvoiceRequest + +## Example Usage + +```typescript +import { SubmitInvoiceRequest } from "@vercel/sdk/models/operations/submitinvoice.js"; + +let value: SubmitInvoiceRequest = { + integrationConfigurationId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `integrationConfigurationId` | *string* | :heavy_check_mark: | N/A | +| `requestBody` | [operations.SubmitInvoiceRequestBody](../../models/operations/submitinvoicerequestbody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/submitinvoicerequestbody.md b/docs/models/operations/submitinvoicerequestbody.md new file mode 100644 index 00000000..e4da14e0 --- /dev/null +++ b/docs/models/operations/submitinvoicerequestbody.md @@ -0,0 +1,37 @@ +# SubmitInvoiceRequestBody + +## Example Usage + +```typescript +import { SubmitInvoiceRequestBody } from "@vercel/sdk/models/operations/submitinvoice.js"; + +let value: SubmitInvoiceRequestBody = { + invoiceDate: new Date("2024-09-18T20:39:17.763Z"), + period: { + start: new Date("2024-03-31T14:23:29.572Z"), + end: new Date("2023-09-07T23:43:29.550Z"), + }, + items: [ + { + billingPlanId: "", + name: "", + price: "836.75", + quantity: 2936.17, + units: "", + total: "", + }, + ], +}; +``` + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `externalId` | *string* | :heavy_minus_sign: | N/A | +| `invoiceDate` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_check_mark: | Invoice date. Must be within the period's start and end. | +| `memo` | *string* | :heavy_minus_sign: | Additional memo for the invoice. | +| `period` | [operations.SubmitInvoicePeriod](../../models/operations/submitinvoiceperiod.md) | :heavy_check_mark: | Subscription period for this billing cycle. | +| `items` | [operations.SubmitInvoiceItems](../../models/operations/submitinvoiceitems.md)[] | :heavy_check_mark: | N/A | +| `discounts` | [operations.SubmitInvoiceDiscounts](../../models/operations/submitinvoicediscounts.md)[] | :heavy_minus_sign: | N/A | +| `test` | [operations.Test](../../models/operations/test.md) | :heavy_minus_sign: | Test mode | \ No newline at end of file diff --git a/docs/models/operations/submitinvoiceresponsebody.md b/docs/models/operations/submitinvoiceresponsebody.md new file mode 100644 index 00000000..3985b5a3 --- /dev/null +++ b/docs/models/operations/submitinvoiceresponsebody.md @@ -0,0 +1,17 @@ +# SubmitInvoiceResponseBody + +## Example Usage + +```typescript +import { SubmitInvoiceResponseBody } from "@vercel/sdk/models/operations/submitinvoice.js"; + +let value: SubmitInvoiceResponseBody = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `invoiceId` | *string* | :heavy_minus_sign: | N/A | +| `test` | *boolean* | :heavy_minus_sign: | N/A | +| `validationErrors` | *string*[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/teams.md b/docs/models/operations/teams.md index 701039b6..9fe95a91 100644 --- a/docs/models/operations/teams.md +++ b/docs/models/operations/teams.md @@ -38,10 +38,10 @@ const value: components.TeamLimited = { avatar: "6eb07268bcfadd309905ffb1579354084c24655c", membership: { confirmed: false, - confirmedAt: 8621.66, - role: "BILLING", - createdAt: 4610.94, - created: 9651.16, + confirmedAt: 926.85, + role: "DEVELOPER", + createdAt: 8719.68, + created: 4482.82, }, created: "", createdAt: 1630748523395, diff --git a/docs/models/operations/ten.md b/docs/models/operations/ten.md index 1a4c5a40..2363810c 100644 --- a/docs/models/operations/ten.md +++ b/docs/models/operations/ten.md @@ -6,7 +6,7 @@ import { Ten } from "@vercel/sdk/models/operations/createrecord.js"; let value: Ten = { - type: "SRV", + type: "AAAA", ttl: 60, https: { priority: 10, diff --git a/docs/models/operations/test.md b/docs/models/operations/test.md new file mode 100644 index 00000000..df5bef4c --- /dev/null +++ b/docs/models/operations/test.md @@ -0,0 +1,18 @@ +# Test + +Test mode + +## Example Usage + +```typescript +import { Test } from "@vercel/sdk/models/operations/submitinvoice.js"; + +let value: Test = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | +| `validate` | *boolean* | :heavy_minus_sign: | N/A | +| `result` | [operations.Result](../../models/operations/result.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/three.md b/docs/models/operations/three.md index 8aa02080..9b74485e 100644 --- a/docs/models/operations/three.md +++ b/docs/models/operations/three.md @@ -6,7 +6,7 @@ import { Three } from "@vercel/sdk/models/operations/createdeployment.js"; let value: Three = { - projectId: "", + projectId: 9829.90, ref: "", type: "gitlab", }; diff --git a/docs/models/operations/transfer.md b/docs/models/operations/transfer.md index fcc4903c..e39de0e8 100644 --- a/docs/models/operations/transfer.md +++ b/docs/models/operations/transfer.md @@ -9,8 +9,8 @@ import { Transfer } from "@vercel/sdk/models/operations/getedgeconfigs.js"; let value: Transfer = { fromAccountId: "", - startedAt: 7403.47, - doneAt: 8210.15, + startedAt: 7486.06, + doneAt: 4526.54, }; ``` diff --git a/docs/models/operations/transferpolicy.md b/docs/models/operations/transferpolicy.md index b03605e5..15068a75 100644 --- a/docs/models/operations/transferpolicy.md +++ b/docs/models/operations/transferpolicy.md @@ -7,7 +7,7 @@ The domain's transfer policy (depends on TLD requirements). `charge-and-renew`: ```typescript import { TransferPolicy } from "@vercel/sdk/models/operations/getdomaintransfer.js"; -let value: TransferPolicy = "not-supported"; +let value: TransferPolicy = "charge-and-renew"; ``` ## Values diff --git a/docs/models/operations/twotarget.md b/docs/models/operations/twotarget.md index 3fa86b31..e5564e7f 100644 --- a/docs/models/operations/twotarget.md +++ b/docs/models/operations/twotarget.md @@ -5,7 +5,7 @@ ```typescript import { TwoTarget } from "@vercel/sdk/models/operations/createprojectenv.js"; -let value: TwoTarget = "development"; +let value: TwoTarget = "production"; ``` ## Values diff --git a/docs/models/operations/updateattackchallengemoderesponsebody.md b/docs/models/operations/updateattackchallengemoderesponsebody.md index edb74f82..99a4b4ab 100644 --- a/docs/models/operations/updateattackchallengemoderesponsebody.md +++ b/docs/models/operations/updateattackchallengemoderesponsebody.md @@ -7,7 +7,7 @@ import { UpdateAttackChallengeModeResponseBody } from "@vercel/sdk/models/operat let value: UpdateAttackChallengeModeResponseBody = { attackModeEnabled: false, - attackModeUpdatedAt: 2528.54, + attackModeUpdatedAt: 5681.62, }; ``` diff --git a/docs/models/operations/updateedgeconfigresponsebody.md b/docs/models/operations/updateedgeconfigresponsebody.md index 447a7079..34983767 100644 --- a/docs/models/operations/updateedgeconfigresponsebody.md +++ b/docs/models/operations/updateedgeconfigresponsebody.md @@ -8,8 +8,8 @@ An Edge Config import { UpdateEdgeConfigResponseBody } from "@vercel/sdk/models/operations/updateedgeconfig.js"; let value: UpdateEdgeConfigResponseBody = { - sizeInBytes: 6509.14, - itemCount: 8273.13, + sizeInBytes: 5897.12, + itemCount: 8815.67, }; ``` diff --git a/docs/models/operations/updateedgeconfigtransfer.md b/docs/models/operations/updateedgeconfigtransfer.md index 72b69246..e875d6d0 100644 --- a/docs/models/operations/updateedgeconfigtransfer.md +++ b/docs/models/operations/updateedgeconfigtransfer.md @@ -9,8 +9,8 @@ import { UpdateEdgeConfigTransfer } from "@vercel/sdk/models/operations/updateed let value: UpdateEdgeConfigTransfer = { fromAccountId: "", - startedAt: 6568.38, - doneAt: 1064.95, + startedAt: 3830.66, + doneAt: 3931.22, }; ``` diff --git a/docs/models/operations/updatefirewallconfigactionsecurity1.md b/docs/models/operations/updatefirewallconfigactionsecurity1.md index 3f82ba47..f6fef846 100644 --- a/docs/models/operations/updatefirewallconfigactionsecurity1.md +++ b/docs/models/operations/updatefirewallconfigactionsecurity1.md @@ -5,7 +5,7 @@ ```typescript import { UpdateFirewallConfigActionSecurity1 } from "@vercel/sdk/models/operations/updatefirewallconfig.js"; -let value: UpdateFirewallConfigActionSecurity1 = "rate_limit"; +let value: UpdateFirewallConfigActionSecurity1 = "challenge"; ``` ## Values diff --git a/docs/models/operations/updatefirewallconfigratelimit1.md b/docs/models/operations/updatefirewallconfigratelimit1.md index add498d6..7dbd34b6 100644 --- a/docs/models/operations/updatefirewallconfigratelimit1.md +++ b/docs/models/operations/updatefirewallconfigratelimit1.md @@ -6,9 +6,9 @@ import { UpdateFirewallConfigRateLimit1 } from "@vercel/sdk/models/operations/updatefirewallconfig.js"; let value: UpdateFirewallConfigRateLimit1 = { - algo: "token_bucket", - window: 8309.09, - limit: 316.05, + algo: "fixed_window", + window: 5874.89, + limit: 7726.04, keys: [ "", ], diff --git a/docs/models/operations/updatefirewallconfigratelimitaction.md b/docs/models/operations/updatefirewallconfigratelimitaction.md index 9647ee49..07eac531 100644 --- a/docs/models/operations/updatefirewallconfigratelimitaction.md +++ b/docs/models/operations/updatefirewallconfigratelimitaction.md @@ -6,7 +6,7 @@ ### `operations.UpdateFirewallConfigAction1` ```typescript -const value: operations.UpdateFirewallConfigAction1 = "deny"; +const value: operations.UpdateFirewallConfigAction1 = "log"; ``` ### `any` diff --git a/docs/models/operations/updatefirewallconfigratelimitsecurity1.md b/docs/models/operations/updatefirewallconfigratelimitsecurity1.md index f45c780e..f9c12f2d 100644 --- a/docs/models/operations/updatefirewallconfigratelimitsecurity1.md +++ b/docs/models/operations/updatefirewallconfigratelimitsecurity1.md @@ -7,8 +7,8 @@ import { UpdateFirewallConfigRateLimitSecurity1 } from "@vercel/sdk/models/opera let value: UpdateFirewallConfigRateLimitSecurity1 = { algo: "token_bucket", - window: 7771.93, - limit: 1231.80, + window: 2641.26, + limit: 4724.29, keys: [ "", ], diff --git a/docs/models/operations/updatefirewallconfigratelimitsecurityaction.md b/docs/models/operations/updatefirewallconfigratelimitsecurityaction.md index 9d51eabb..a477408a 100644 --- a/docs/models/operations/updatefirewallconfigratelimitsecurityaction.md +++ b/docs/models/operations/updatefirewallconfigratelimitsecurityaction.md @@ -6,7 +6,7 @@ ### `operations.UpdateFirewallConfigActionSecurity1` ```typescript -const value: operations.UpdateFirewallConfigActionSecurity1 = "deny"; +const value: operations.UpdateFirewallConfigActionSecurity1 = "challenge"; ``` ### `any` diff --git a/docs/models/operations/updatefirewallconfigrequestbody.md b/docs/models/operations/updatefirewallconfigrequestbody.md index 256c5361..9dbb8996 100644 --- a/docs/models/operations/updatefirewallconfigrequestbody.md +++ b/docs/models/operations/updatefirewallconfigrequestbody.md @@ -24,8 +24,8 @@ const value: operations.UpdateFirewallConfigRequestBody2 = { { conditions: [ { - type: "geo_city", - op: "gt", + type: "cookie", + op: "lte", }, ], }, @@ -48,8 +48,8 @@ const value: operations.UpdateFirewallConfigRequestBody3 = { { conditions: [ { - type: "host", - op: "inc", + type: "ip_address", + op: "lt", }, ], }, @@ -74,7 +74,7 @@ const value: operations.UpdateFirewallConfigRequestBody4 = { const value: operations.UpdateFirewallConfigRequestBody5 = { action: "rules.priority", id: "", - value: 445.10, + value: 1810.42, }; ``` @@ -83,7 +83,7 @@ const value: operations.UpdateFirewallConfigRequestBody5 = { ```typescript const value: operations.RequestBody6 = { action: "crs.update", - id: "lfi", + id: "sqli", value: { active: false, action: "deny", @@ -105,9 +105,9 @@ const value: operations.RequestBody7 = { const value: operations.RequestBody8 = { action: "ip.insert", value: { - hostname: "ecstatic-flat.biz", - ip: "7d3a:1a0b:e0eb:7d69:2e0a:fc3a:fcc2:d8d6", - action: "log", + hostname: "lean-accompanist.net", + ip: "0eb7:d692:e0af:c3af:cc2d:8d6c:9d51:a9c0", + action: "bypass", }, }; ``` @@ -119,8 +119,8 @@ const value: operations.RequestBody9 = { action: "ip.update", id: "", value: { - hostname: "intelligent-sustenance.biz", - ip: "191.105.150.6", + hostname: "ultimate-opera.com", + ip: "250.174.41.117", action: "bypass", }, }; diff --git a/docs/models/operations/updatefirewallconfigrequestbody2.md b/docs/models/operations/updatefirewallconfigrequestbody2.md index 879a7e97..49538e53 100644 --- a/docs/models/operations/updatefirewallconfigrequestbody2.md +++ b/docs/models/operations/updatefirewallconfigrequestbody2.md @@ -16,8 +16,8 @@ let value: UpdateFirewallConfigRequestBody2 = { { conditions: [ { - type: "path", - op: "suf", + type: "query", + op: "nex", }, ], }, diff --git a/docs/models/operations/updatefirewallconfigrequestbody3.md b/docs/models/operations/updatefirewallconfigrequestbody3.md index 3796a3bb..aeae07f4 100644 --- a/docs/models/operations/updatefirewallconfigrequestbody3.md +++ b/docs/models/operations/updatefirewallconfigrequestbody3.md @@ -17,8 +17,8 @@ let value: UpdateFirewallConfigRequestBody3 = { { conditions: [ { - type: "ja3_digest", - op: "ex", + type: "header", + op: "ninc", }, ], }, diff --git a/docs/models/operations/updatefirewallconfigrequestbody5.md b/docs/models/operations/updatefirewallconfigrequestbody5.md index a20fd12b..165303b6 100644 --- a/docs/models/operations/updatefirewallconfigrequestbody5.md +++ b/docs/models/operations/updatefirewallconfigrequestbody5.md @@ -10,7 +10,7 @@ import { UpdateFirewallConfigRequestBody5 } from "@vercel/sdk/models/operations/ let value: UpdateFirewallConfigRequestBody5 = { action: "rules.priority", id: "", - value: 9961.00, + value: 3719.35, }; ``` diff --git a/docs/models/operations/updatefirewallconfigrequestbodyconditiongroup.md b/docs/models/operations/updatefirewallconfigrequestbodyconditiongroup.md index 234460d6..22d22cd3 100644 --- a/docs/models/operations/updatefirewallconfigrequestbodyconditiongroup.md +++ b/docs/models/operations/updatefirewallconfigrequestbodyconditiongroup.md @@ -8,8 +8,8 @@ import { UpdateFirewallConfigRequestBodyConditionGroup } from "@vercel/sdk/model let value: UpdateFirewallConfigRequestBodyConditionGroup = { conditions: [ { - type: "ip_address", - op: "lt", + type: "protocol", + op: "eq", }, ], }; diff --git a/docs/models/operations/updatefirewallconfigrequestbodyconditions.md b/docs/models/operations/updatefirewallconfigrequestbodyconditions.md index d224c8e0..0c76b7e7 100644 --- a/docs/models/operations/updatefirewallconfigrequestbodyconditions.md +++ b/docs/models/operations/updatefirewallconfigrequestbodyconditions.md @@ -6,7 +6,7 @@ import { UpdateFirewallConfigRequestBodyConditions } from "@vercel/sdk/models/operations/updatefirewallconfig.js"; let value: UpdateFirewallConfigRequestBodyConditions = { - type: "ip_address", + type: "geo_city", op: "eq", }; ``` diff --git a/docs/models/operations/updatefirewallconfigrequestbodymitigate.md b/docs/models/operations/updatefirewallconfigrequestbodymitigate.md index 948f2739..6da69f5b 100644 --- a/docs/models/operations/updatefirewallconfigrequestbodymitigate.md +++ b/docs/models/operations/updatefirewallconfigrequestbodymitigate.md @@ -6,7 +6,7 @@ import { UpdateFirewallConfigRequestBodyMitigate } from "@vercel/sdk/models/operations/updatefirewallconfig.js"; let value: UpdateFirewallConfigRequestBodyMitigate = { - action: "log", + action: "challenge", }; ``` diff --git a/docs/models/operations/updatefirewallconfigrequestbodyop.md b/docs/models/operations/updatefirewallconfigrequestbodyop.md index 9156a9f2..818577d9 100644 --- a/docs/models/operations/updatefirewallconfigrequestbodyop.md +++ b/docs/models/operations/updatefirewallconfigrequestbodyop.md @@ -5,7 +5,7 @@ ```typescript import { UpdateFirewallConfigRequestBodyOp } from "@vercel/sdk/models/operations/updatefirewallconfig.js"; -let value: UpdateFirewallConfigRequestBodyOp = "nex"; +let value: UpdateFirewallConfigRequestBodyOp = "gt"; ``` ## Values diff --git a/docs/models/operations/updatefirewallconfigrequestbodyratelimit.md b/docs/models/operations/updatefirewallconfigrequestbodyratelimit.md index 869668cd..148d5895 100644 --- a/docs/models/operations/updatefirewallconfigrequestbodyratelimit.md +++ b/docs/models/operations/updatefirewallconfigrequestbodyratelimit.md @@ -7,9 +7,9 @@ ```typescript const value: operations.UpdateFirewallConfigRateLimitSecurity1 = { - algo: "fixed_window", - window: 1182.36, - limit: 2336.18, + algo: "token_bucket", + window: 8156.18, + limit: 7503.43, keys: [ "", ], diff --git a/docs/models/operations/updatefirewallconfigrequestbodysecurityrequest2value.md b/docs/models/operations/updatefirewallconfigrequestbodysecurityrequest2value.md index d98b0b25..c2f2825d 100644 --- a/docs/models/operations/updatefirewallconfigrequestbodysecurityrequest2value.md +++ b/docs/models/operations/updatefirewallconfigrequestbodysecurityrequest2value.md @@ -20,6 +20,6 @@ const value: string[] = [ ### `number` ```typescript -const value: number = 8156.18; +const value: number = 8866.83; ``` diff --git a/docs/models/operations/updatefirewallconfigrequestbodysecurityrequest2valueaction.md b/docs/models/operations/updatefirewallconfigrequestbodysecurityrequest2valueaction.md index 330a76ff..561cd434 100644 --- a/docs/models/operations/updatefirewallconfigrequestbodysecurityrequest2valueaction.md +++ b/docs/models/operations/updatefirewallconfigrequestbodysecurityrequest2valueaction.md @@ -6,7 +6,7 @@ import { UpdateFirewallConfigRequestBodySecurityRequest2ValueAction } from "@vercel/sdk/models/operations/updatefirewallconfig.js"; let value: UpdateFirewallConfigRequestBodySecurityRequest2ValueAction = - "challenge"; + "redirect"; ``` ## Values diff --git a/docs/models/operations/updatefirewallconfigrequestbodysecurityrequest3value.md b/docs/models/operations/updatefirewallconfigrequestbodysecurityrequest3value.md index b77e39e0..6adee9aa 100644 --- a/docs/models/operations/updatefirewallconfigrequestbodysecurityrequest3value.md +++ b/docs/models/operations/updatefirewallconfigrequestbodysecurityrequest3value.md @@ -20,6 +20,6 @@ const value: string[] = [ ### `number` ```typescript -const value: number = 2628.91; +const value: number = 5167.39; ``` diff --git a/docs/models/operations/updatefirewallconfigrequestbodysecurityrequest8valueaction.md b/docs/models/operations/updatefirewallconfigrequestbodysecurityrequest8valueaction.md index 26798d73..a00512b5 100644 --- a/docs/models/operations/updatefirewallconfigrequestbodysecurityrequest8valueaction.md +++ b/docs/models/operations/updatefirewallconfigrequestbodysecurityrequest8valueaction.md @@ -5,7 +5,8 @@ ```typescript import { UpdateFirewallConfigRequestBodySecurityRequest8ValueAction } from "@vercel/sdk/models/operations/updatefirewallconfig.js"; -let value: UpdateFirewallConfigRequestBodySecurityRequest8ValueAction = "log"; +let value: UpdateFirewallConfigRequestBodySecurityRequest8ValueAction = + "bypass"; ``` ## Values diff --git a/docs/models/operations/updatefirewallconfigrequestbodysecurityrequest9value.md b/docs/models/operations/updatefirewallconfigrequestbodysecurityrequest9value.md index 6774b1a9..38558bc4 100644 --- a/docs/models/operations/updatefirewallconfigrequestbodysecurityrequest9value.md +++ b/docs/models/operations/updatefirewallconfigrequestbodysecurityrequest9value.md @@ -6,9 +6,9 @@ import { UpdateFirewallConfigRequestBodySecurityRequest9Value } from "@vercel/sdk/models/operations/updatefirewallconfig.js"; let value: UpdateFirewallConfigRequestBodySecurityRequest9Value = { - hostname: "focused-dividend.info", - ip: "d36c:99ce:afbb:6ecd:1eb0:7faf:97cc:fbe9", - action: "deny", + hostname: "kaleidoscopic-slide.org", + ip: "175.205.132.75", + action: "log", }; ``` diff --git a/docs/models/operations/updatefirewallconfigrequestbodysecurityrequest9valueaction.md b/docs/models/operations/updatefirewallconfigrequestbodysecurityrequest9valueaction.md index 23d7cb2d..04e5df46 100644 --- a/docs/models/operations/updatefirewallconfigrequestbodysecurityrequest9valueaction.md +++ b/docs/models/operations/updatefirewallconfigrequestbodysecurityrequest9valueaction.md @@ -6,7 +6,7 @@ import { UpdateFirewallConfigRequestBodySecurityRequest9ValueAction } from "@vercel/sdk/models/operations/updatefirewallconfig.js"; let value: UpdateFirewallConfigRequestBodySecurityRequest9ValueAction = - "bypass"; + "challenge"; ``` ## Values diff --git a/docs/models/operations/updatefirewallconfigrequestbodysecurityrequestvalue.md b/docs/models/operations/updatefirewallconfigrequestbodysecurityrequestvalue.md index b557229f..de4ac2bb 100644 --- a/docs/models/operations/updatefirewallconfigrequestbodysecurityrequestvalue.md +++ b/docs/models/operations/updatefirewallconfigrequestbodysecurityrequestvalue.md @@ -6,9 +6,9 @@ import { UpdateFirewallConfigRequestBodySecurityRequestValue } from "@vercel/sdk/models/operations/updatefirewallconfig.js"; let value: UpdateFirewallConfigRequestBodySecurityRequestValue = { - hostname: "portly-spork.org", - ip: "66.109.0.17", - action: "deny", + hostname: "mushy-hippodrome.biz", + ip: "d6b5:74fc:a28d:13dd:ce35:9014:a5d7:ef94", + action: "challenge", }; ``` diff --git a/docs/models/operations/updatefirewallconfigrequestbodysecuritytype.md b/docs/models/operations/updatefirewallconfigrequestbodysecuritytype.md index 5b12b166..8ceb6aa4 100644 --- a/docs/models/operations/updatefirewallconfigrequestbodysecuritytype.md +++ b/docs/models/operations/updatefirewallconfigrequestbodysecuritytype.md @@ -5,7 +5,7 @@ ```typescript import { UpdateFirewallConfigRequestBodySecurityType } from "@vercel/sdk/models/operations/updatefirewallconfig.js"; -let value: UpdateFirewallConfigRequestBodySecurityType = "query"; +let value: UpdateFirewallConfigRequestBodySecurityType = "ja3_digest"; ``` ## Values diff --git a/docs/models/operations/updatefirewallconfigrequestbodytype.md b/docs/models/operations/updatefirewallconfigrequestbodytype.md index 499b0908..c91cf77f 100644 --- a/docs/models/operations/updatefirewallconfigrequestbodytype.md +++ b/docs/models/operations/updatefirewallconfigrequestbodytype.md @@ -5,7 +5,7 @@ ```typescript import { UpdateFirewallConfigRequestBodyType } from "@vercel/sdk/models/operations/updatefirewallconfig.js"; -let value: UpdateFirewallConfigRequestBodyType = "protocol"; +let value: UpdateFirewallConfigRequestBodyType = "geo_country_region"; ``` ## Values diff --git a/docs/models/operations/updatefirewallconfigrequestbodyvalue.md b/docs/models/operations/updatefirewallconfigrequestbodyvalue.md index 82c3d9fc..63f0b4fb 100644 --- a/docs/models/operations/updatefirewallconfigrequestbodyvalue.md +++ b/docs/models/operations/updatefirewallconfigrequestbodyvalue.md @@ -12,8 +12,8 @@ let value: UpdateFirewallConfigRequestBodyValue = { { conditions: [ { - type: "ip_address", - op: "inc", + type: "scheme", + op: "neq", }, ], }, diff --git a/docs/models/operations/updateinvoicerequest.md b/docs/models/operations/updateinvoicerequest.md new file mode 100644 index 00000000..662e13ae --- /dev/null +++ b/docs/models/operations/updateinvoicerequest.md @@ -0,0 +1,20 @@ +# UpdateInvoiceRequest + +## Example Usage + +```typescript +import { UpdateInvoiceRequest } from "@vercel/sdk/models/operations/updateinvoice.js"; + +let value: UpdateInvoiceRequest = { + integrationConfigurationId: "", + invoiceId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `integrationConfigurationId` | *string* | :heavy_check_mark: | N/A | +| `invoiceId` | *string* | :heavy_check_mark: | N/A | +| `requestBody` | [operations.UpdateInvoiceRequestBody](../../models/operations/updateinvoicerequestbody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updateinvoicerequestbody.md b/docs/models/operations/updateinvoicerequestbody.md new file mode 100644 index 00000000..70ffc95b --- /dev/null +++ b/docs/models/operations/updateinvoicerequestbody.md @@ -0,0 +1,21 @@ +# UpdateInvoiceRequestBody + +## Example Usage + +```typescript +import { UpdateInvoiceRequestBody } from "@vercel/sdk/models/operations/updateinvoice.js"; + +let value: UpdateInvoiceRequestBody = { + action: "refund", + reason: "", + total: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | +| `action` | [operations.Action](../../models/operations/action.md) | :heavy_check_mark: | N/A | +| `reason` | *string* | :heavy_check_mark: | Refund reason. | +| `total` | *string* | :heavy_check_mark: | The total amount to be refunded. Must be less than or equal to the total amount of the invoice. | \ No newline at end of file diff --git a/docs/models/operations/updateprojectdomainverification.md b/docs/models/operations/updateprojectdomainverification.md index c79dcefa..1a7d5b4d 100644 --- a/docs/models/operations/updateprojectdomainverification.md +++ b/docs/models/operations/updateprojectdomainverification.md @@ -9,7 +9,7 @@ import { UpdateProjectDomainVerification } from "@vercel/sdk/models/operations/u let value: UpdateProjectDomainVerification = { type: "", - domain: "lumpy-devastation.name", + domain: "spanish-steak.info", value: "", reason: "", }; diff --git a/docs/models/operations/updateprojectpermissions.md b/docs/models/operations/updateprojectpermissions.md index 4ae6c1dd..f287dcd0 100644 --- a/docs/models/operations/updateprojectpermissions.md +++ b/docs/models/operations/updateprojectpermissions.md @@ -83,6 +83,7 @@ let value: UpdateProjectPermissions = {}; | `notificationCustomerBudget` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | | `notificationStatementOfReasons` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | | `oauth2Connection` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `observabilityConfiguration` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | | `openTelemetryEndpoint` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | | `paymentMethod` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | | `permissions` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | @@ -157,6 +158,7 @@ let value: UpdateProjectPermissions = {}; | `passwordProtection` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | | `optionsAllowlist` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | | `job` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `observabilityData` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | | `project` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | | `projectFromV0` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | | `projectAccessGroup` | [components.ACLAction](../../models/components/aclaction.md)[] | :heavy_minus_sign: | N/A | diff --git a/docs/models/operations/updateprojectprotectionbypassprotectionbypass.md b/docs/models/operations/updateprojectprotectionbypassprotectionbypass.md index 631078f1..5a11009c 100644 --- a/docs/models/operations/updateprojectprotectionbypassprotectionbypass.md +++ b/docs/models/operations/updateprojectprotectionbypassprotectionbypass.md @@ -6,7 +6,7 @@ import { UpdateProjectProtectionBypassProtectionBypass } from "@vercel/sdk/models/operations/updateprojectprotectionbypass.js"; let value: UpdateProjectProtectionBypassProtectionBypass = { - createdAt: 660.74, + createdAt: 2628.00, createdBy: "", scope: "automation-bypass", }; diff --git a/docs/models/operations/updaterecorddnstype.md b/docs/models/operations/updaterecorddnstype.md index cebe3c57..ef7ee429 100644 --- a/docs/models/operations/updaterecorddnstype.md +++ b/docs/models/operations/updaterecorddnstype.md @@ -5,7 +5,7 @@ ```typescript import { UpdateRecordDnsType } from "@vercel/sdk/models/operations/updaterecord.js"; -let value: UpdateRecordDnsType = "record-sys"; +let value: UpdateRecordDnsType = "record"; ``` ## Values diff --git a/docs/models/operations/updaterecordrequest.md b/docs/models/operations/updaterecordrequest.md index 67663ccf..b032909b 100644 --- a/docs/models/operations/updaterecordrequest.md +++ b/docs/models/operations/updaterecordrequest.md @@ -14,12 +14,12 @@ let value: UpdateRecordRequest = { ttl: 60, srv: { target: "example2.com.", - weight: 769789, - port: 50391, - priority: 856568, + weight: 898826, + port: 38451, + priority: 588158, }, https: { - priority: 720319, + priority: 34267, target: "example2.com.", }, comment: "used to verify ownership of domain", diff --git a/docs/models/operations/updaterecordrequestbody.md b/docs/models/operations/updaterecordrequestbody.md index cc990333..b89afad1 100644 --- a/docs/models/operations/updaterecordrequestbody.md +++ b/docs/models/operations/updaterecordrequestbody.md @@ -12,12 +12,12 @@ let value: UpdateRecordRequestBody = { ttl: 60, srv: { target: "example2.com.", - weight: 40874, - port: 16896, - priority: 740245, + weight: 768920, + port: 56136, + priority: 720319, }, https: { - priority: 628314, + priority: 979011, target: "example2.com.", }, comment: "used to verify ownership of domain", diff --git a/docs/models/operations/updaterecordresponsebody.md b/docs/models/operations/updaterecordresponsebody.md index d2f83182..deda1847 100644 --- a/docs/models/operations/updaterecordresponsebody.md +++ b/docs/models/operations/updaterecordresponsebody.md @@ -7,10 +7,10 @@ import { UpdateRecordResponseBody } from "@vercel/sdk/models/operations/updatere let value: UpdateRecordResponseBody = { creator: "", - domain: "outrageous-mortise.com", + domain: "shrill-slime.info", id: "", name: "", - recordType: "NS", + recordType: "AAAA", type: "record", value: "", }; diff --git a/docs/models/operations/updateresourcesecretsrequest.md b/docs/models/operations/updateresourcesecretsrequest.md new file mode 100644 index 00000000..dbc3684c --- /dev/null +++ b/docs/models/operations/updateresourcesecretsrequest.md @@ -0,0 +1,22 @@ +# UpdateResourceSecretsRequest + +## Example Usage + +```typescript +import { UpdateResourceSecretsRequest } from "@vercel/sdk/models/operations/updateresourcesecrets.js"; + +let value: UpdateResourceSecretsRequest = { + integrationConfigurationId: "", + integrationProductIdOrSlug: "", + resourceId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | +| `integrationConfigurationId` | *string* | :heavy_check_mark: | N/A | +| `integrationProductIdOrSlug` | *string* | :heavy_check_mark: | N/A | +| `resourceId` | *string* | :heavy_check_mark: | N/A | +| `requestBody` | [operations.UpdateResourceSecretsRequestBody](../../models/operations/updateresourcesecretsrequestbody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/updateresourcesecretsrequestbody.md b/docs/models/operations/updateresourcesecretsrequestbody.md new file mode 100644 index 00000000..dc84fbfb --- /dev/null +++ b/docs/models/operations/updateresourcesecretsrequestbody.md @@ -0,0 +1,22 @@ +# UpdateResourceSecretsRequestBody + +## Example Usage + +```typescript +import { UpdateResourceSecretsRequestBody } from "@vercel/sdk/models/operations/updateresourcesecrets.js"; + +let value: UpdateResourceSecretsRequestBody = { + secrets: [ + { + name: "", + value: "", + }, + ], +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | +| `secrets` | [operations.Secrets](../../models/operations/secrets.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/operations/uploadcertresponsebody.md b/docs/models/operations/uploadcertresponsebody.md index 262d042e..221ac942 100644 --- a/docs/models/operations/uploadcertresponsebody.md +++ b/docs/models/operations/uploadcertresponsebody.md @@ -7,8 +7,8 @@ import { UploadCertResponseBody } from "@vercel/sdk/models/operations/uploadcert let value: UploadCertResponseBody = { id: "", - createdAt: 59.39, - expiresAt: 4346.33, + createdAt: 8241.05, + expiresAt: 1777.17, autoRenew: false, cns: [ "", diff --git a/docs/models/operations/usage.md b/docs/models/operations/usage.md new file mode 100644 index 00000000..09d3cee0 --- /dev/null +++ b/docs/models/operations/usage.md @@ -0,0 +1,28 @@ +# Usage + +## Example Usage + +```typescript +import { Usage } from "@vercel/sdk/models/operations/submitbillingdata.js"; + +let value: Usage = { + resourceId: "", + name: "", + type: "interval", + units: "", + dayValue: 7594.50, + periodValue: 1782.01, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `resourceId` | *string* | :heavy_check_mark: | Partner's resource ID. | +| `name` | *string* | :heavy_check_mark: | Metric name. | +| `type` | [operations.SubmitBillingDataType](../../models/operations/submitbillingdatatype.md) | :heavy_check_mark: | \n Type of the metric.\n - total: measured total value, such as Database size\n - interval: usage during the period, such as i/o or number of queries.\n - rate: rate of usage, such as queries per second.\n | +| `units` | *string* | :heavy_check_mark: | Metric units. Example: \"GB\" | +| `dayValue` | *number* | :heavy_check_mark: | Metric value for the day. Could be a final or an interim value for the day. | +| `periodValue` | *number* | :heavy_check_mark: | Metric value for the billing period. Could be a final or an interim value for the period. | +| `planValue` | *number* | :heavy_minus_sign: | The limit value of the metric for a billing period, if a limit is defined by the plan. | \ No newline at end of file diff --git a/docs/models/operations/user.md b/docs/models/operations/user.md index 5a6f2462..c773658a 100644 --- a/docs/models/operations/user.md +++ b/docs/models/operations/user.md @@ -9,8 +9,8 @@ const value: components.AuthUser = { createdAt: 1630748523395, softBlock: { - blockedAt: 6726.27, - reason: "FAIR_USE_LIMITS_EXCEEDED", + blockedAt: 7674.66, + reason: "ENTERPRISE_TRIAL_ENDED", }, billing: {}, resourceConfig: {}, diff --git a/docs/models/operations/verification.md b/docs/models/operations/verification.md index 98195836..6ce087e5 100644 --- a/docs/models/operations/verification.md +++ b/docs/models/operations/verification.md @@ -9,7 +9,7 @@ import { Verification } from "@vercel/sdk/models/operations/getprojectdomain.js" let value: Verification = { type: "", - domain: "lasting-agreement.info", + domain: "political-paintwork.org", value: "", reason: "", }; diff --git a/docs/models/operations/verified.md b/docs/models/operations/verified.md new file mode 100644 index 00000000..8e056bd4 --- /dev/null +++ b/docs/models/operations/verified.md @@ -0,0 +1,17 @@ +# Verified + +Filters domains based on their verification status. + +## Example Usage + +```typescript +import { Verified } from "@vercel/sdk/models/operations/getprojectdomains.js"; + +let value: Verified = "true"; +``` + +## Values + +```typescript +"true" | "false" +``` \ No newline at end of file diff --git a/docs/models/operations/verifyprojectdomainverification.md b/docs/models/operations/verifyprojectdomainverification.md index 8bf87114..3e97b816 100644 --- a/docs/models/operations/verifyprojectdomainverification.md +++ b/docs/models/operations/verifyprojectdomainverification.md @@ -9,7 +9,7 @@ import { VerifyProjectDomainVerification } from "@vercel/sdk/models/operations/v let value: VerifyProjectDomainVerification = { type: "", - domain: "productive-unibody.net", + domain: "limping-bathrobe.org", value: "", reason: "", }; diff --git a/docs/models/operations/view.md b/docs/models/operations/view.md index 1ba33239..28f4bfce 100644 --- a/docs/models/operations/view.md +++ b/docs/models/operations/view.md @@ -5,7 +5,7 @@ ```typescript import { View } from "@vercel/sdk/models/operations/getconfigurations.js"; -let value: View = "account"; +let value: View = "project"; ``` ## Values diff --git a/docs/sdks/authentication/README.md b/docs/sdks/authentication/README.md index f7e8a0ea..30793443 100644 --- a/docs/sdks/authentication/README.md +++ b/docs/sdks/authentication/README.md @@ -5,11 +5,80 @@ ### Available Operations +* [exchangeSsoToken](#exchangessotoken) - SSO Token Exchange * [listAuthTokens](#listauthtokens) - List Auth Tokens * [createAuthToken](#createauthtoken) - Create an Auth Token * [getAuthToken](#getauthtoken) - Get Auth Token Metadata * [deleteAuthToken](#deleteauthtoken) - Delete an authentication token +## exchangeSsoToken + +During the autorization process, Vercel sends the user to the provider [redirectLoginUrl](https://vercel.com/docs/integrations/create-integration/submit-integration#redirect-login-url), that includes the OAuth authorization `code` parameter. The provider then calls the SSO Token Exchange endpoint with the sent code and receives the OIDC token. They log the user in based on this token and redirects the user back to the Vercel account using deep-link parameters included the redirectLoginUrl. This is used to verify the identity of the user during the [**Open in Provider** flow](https://vercel.com/docs/integrations/marketplace-flows#open-in-provider-button-flow). Providers should not persist the returned `id_token` in a database since the token will expire. + +### Example Usage + +```typescript +import { Vercel } from "@vercel/sdk"; + +const vercel = new Vercel(); + +async function run() { + const result = await vercel.authentication.exchangeSsoToken(); + + // Handle the result + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { VercelCore } from "@vercel/sdk/core.js"; +import { authenticationExchangeSsoToken } from "@vercel/sdk/funcs/authenticationExchangeSsoToken.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 authenticationExchangeSsoToken(vercel); + + if (!res.ok) { + throw res.error; + } + + const { value: result } = res; + + // Handle the result + console.log(result); +} + +run(); +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `request` | [operations.ExchangeSsoTokenRequestBody](../../models/operations/exchangessotokenrequestbody.md) | :heavy_check_mark: | The request object to use for the request. | +| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | +| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | +| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | + +### Response + +**Promise\<[operations.ExchangeSsoTokenResponseBody](../../models/operations/exchangessotokenresponsebody.md)\>** + +### Errors + +| Error Type | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 4XX, 5XX | \*/\* | + ## listAuthTokens Retrieve a list of the current User's authentication tokens. diff --git a/docs/sdks/marketplace/README.md b/docs/sdks/marketplace/README.md new file mode 100644 index 00000000..25012b83 --- /dev/null +++ b/docs/sdks/marketplace/README.md @@ -0,0 +1,694 @@ +# Marketplace +(*marketplace*) + +## Overview + +### Available Operations + +* [getAccountInfo](#getaccountinfo) - Get Account Information +* [getMember](#getmember) - Get Member Information +* [createEvent](#createevent) - Create Event +* [submitBillingData](#submitbillingdata) - Submit Billing Data +* [submitInvoice](#submitinvoice) - Submit Invoice +* [getInvoice](#getinvoice) - Get Invoice +* [updateInvoice](#updateinvoice) - Invoice Actions +* [updateResourceSecrets](#updateresourcesecrets) - Update Resource Secrets +* [exchangeSsoToken](#exchangessotoken) - SSO Token Exchange + +## getAccountInfo + +Fetches the best account or user’s contact info + +### Example Usage + +```typescript +import { Vercel } from "@vercel/sdk"; + +const vercel = new Vercel({ + bearerToken: "", +}); + +async function run() { + const result = await vercel.marketplace.getAccountInfo({ + integrationConfigurationId: "", + }); + + // Handle the result + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { VercelCore } from "@vercel/sdk/core.js"; +import { marketplaceGetAccountInfo } from "@vercel/sdk/funcs/marketplaceGetAccountInfo.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 marketplaceGetAccountInfo(vercel, { + integrationConfigurationId: "", + }); + + if (!res.ok) { + throw res.error; + } + + const { value: result } = res; + + // Handle the result + console.log(result); +} + +run(); +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `request` | [operations.GetAccountInfoRequest](../../models/operations/getaccountinforequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | +| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | +| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | + +### Response + +**Promise\<[operations.GetAccountInfoResponseBody](../../models/operations/getaccountinforesponsebody.md)\>** + +### Errors + +| Error Type | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 4XX, 5XX | \*/\* | + +## getMember + +Returns the member role and other information for a given member ID ("user_id" claim in the SSO OIDC token). + +### Example Usage + +```typescript +import { Vercel } from "@vercel/sdk"; + +const vercel = new Vercel({ + bearerToken: "", +}); + +async function run() { + const result = await vercel.marketplace.getMember({ + integrationConfigurationId: "", + memberId: "", + }); + + // Handle the result + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { VercelCore } from "@vercel/sdk/core.js"; +import { marketplaceGetMember } from "@vercel/sdk/funcs/marketplaceGetMember.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 marketplaceGetMember(vercel, { + integrationConfigurationId: "", + memberId: "", + }); + + if (!res.ok) { + throw res.error; + } + + const { value: result } = res; + + // Handle the result + console.log(result); +} + +run(); +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `request` | [operations.GetMemberRequest](../../models/operations/getmemberrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | +| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | +| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | + +### Response + +**Promise\<[operations.GetMemberResponseBody](../../models/operations/getmemberresponsebody.md)\>** + +### Errors + +| Error Type | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 4XX, 5XX | \*/\* | + +## createEvent + +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.

`resource.updated` event should be dispatched when any state of a resource linked to Vercel is modified by the partner.

Use cases:

- 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.
+ +### Example Usage + +```typescript +import { Vercel } from "@vercel/sdk"; + +const vercel = new Vercel({ + bearerToken: "", +}); + +async function run() { + await vercel.marketplace.createEvent({ + integrationConfigurationId: "", + }); + + +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { VercelCore } from "@vercel/sdk/core.js"; +import { marketplaceCreateEvent } from "@vercel/sdk/funcs/marketplaceCreateEvent.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 marketplaceCreateEvent(vercel, { + integrationConfigurationId: "", + }); + + if (!res.ok) { + throw res.error; + } + + const { value: result } = res; + + +} + +run(); +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `request` | [operations.CreateEventRequest](../../models/operations/createeventrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | +| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | +| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | + +### Response + +**Promise\** + +### Errors + +| Error Type | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.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. + +### Example Usage + +```typescript +import { Vercel } from "@vercel/sdk"; + +const vercel = new Vercel({ + bearerToken: "", +}); + +async function run() { + await vercel.marketplace.submitBillingData({ + integrationConfigurationId: "", + }); + + +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { VercelCore } from "@vercel/sdk/core.js"; +import { marketplaceSubmitBillingData } from "@vercel/sdk/funcs/marketplaceSubmitBillingData.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 marketplaceSubmitBillingData(vercel, { + integrationConfigurationId: "", + }); + + if (!res.ok) { + throw res.error; + } + + const { value: result } = res; + + +} + +run(); +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `request` | [operations.SubmitBillingDataRequest](../../models/operations/submitbillingdatarequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | +| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | +| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | + +### Response + +**Promise\** + +### Errors + +| Error Type | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 4XX, 5XX | \*/\* | + +## submitInvoice + +This endpoint allows the partner to submit an invoice to Vercel. The invoice is created in Vercel's billing system and sent to the customer. Depending on the type of billing plan, the invoice can be sent at a time of signup, at the start of the billing period, or at the end of the billing period.

There are several limitations to the invoice submission:

1. A resource can only be billed once per the billing period and the billing plan.
2. The billing plan used to bill the resource must have been active for this resource during the billing period.
3. The billing plan used must be a subscription plan.
4. The interim usage data must be sent hourly for all types of subscriptions. See [Send subscription billing and usage data](#send-subscription-billing-and-usage-data) API on how to send interim billing and usage data.
+ +### Example Usage + +```typescript +import { Vercel } from "@vercel/sdk"; + +const vercel = new Vercel({ + bearerToken: "", +}); + +async function run() { + const result = await vercel.marketplace.submitInvoice({ + integrationConfigurationId: "", + }); + + // Handle the result + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { VercelCore } from "@vercel/sdk/core.js"; +import { marketplaceSubmitInvoice } from "@vercel/sdk/funcs/marketplaceSubmitInvoice.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 marketplaceSubmitInvoice(vercel, { + integrationConfigurationId: "", + }); + + if (!res.ok) { + throw res.error; + } + + const { value: result } = res; + + // Handle the result + console.log(result); +} + +run(); +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `request` | [operations.SubmitInvoiceRequest](../../models/operations/submitinvoicerequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | +| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | +| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | + +### Response + +**Promise\<[operations.SubmitInvoiceResponseBody](../../models/operations/submitinvoiceresponsebody.md)\>** + +### Errors + +| Error Type | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 4XX, 5XX | \*/\* | + +## getInvoice + +Get Invoice details and status for a given invoice ID.

See Billing Events with Webhooks documentation on how to receive invoice events. This endpoint is used to retrieve the invoice details. + +### Example Usage + +```typescript +import { Vercel } from "@vercel/sdk"; + +const vercel = new Vercel({ + bearerToken: "", +}); + +async function run() { + const result = await vercel.marketplace.getInvoice({ + integrationConfigurationId: "", + invoiceId: "", + }); + + // Handle the result + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { VercelCore } from "@vercel/sdk/core.js"; +import { marketplaceGetInvoice } from "@vercel/sdk/funcs/marketplaceGetInvoice.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 marketplaceGetInvoice(vercel, { + integrationConfigurationId: "", + invoiceId: "", + }); + + if (!res.ok) { + throw res.error; + } + + const { value: result } = res; + + // Handle the result + console.log(result); +} + +run(); +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `request` | [operations.GetInvoiceRequest](../../models/operations/getinvoicerequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | +| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | +| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | + +### Response + +**Promise\<[operations.GetInvoiceResponseBody](../../models/operations/getinvoiceresponsebody.md)\>** + +### Errors + +| Error Type | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 4XX, 5XX | \*/\* | + +## updateInvoice + +This endpoint allows the partner to request a refund for an invoice to Vercel. The invoice is created using the [Submit Invoice API](#submit-invoice-api). + +### Example Usage + +```typescript +import { Vercel } from "@vercel/sdk"; + +const vercel = new Vercel({ + bearerToken: "", +}); + +async function run() { + await vercel.marketplace.updateInvoice({ + integrationConfigurationId: "", + invoiceId: "", + }); + + +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { VercelCore } from "@vercel/sdk/core.js"; +import { marketplaceUpdateInvoice } from "@vercel/sdk/funcs/marketplaceUpdateInvoice.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 marketplaceUpdateInvoice(vercel, { + integrationConfigurationId: "", + invoiceId: "", + }); + + if (!res.ok) { + throw res.error; + } + + const { value: result } = res; + + +} + +run(); +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `request` | [operations.UpdateInvoiceRequest](../../models/operations/updateinvoicerequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | +| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | +| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | + +### Response + +**Promise\** + +### Errors + +| Error Type | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 4XX, 5XX | \*/\* | + +## updateResourceSecrets + +This endpoint updates the secrets of a resource. If a resource has projects connected, the connected secrets are updated with the new secrets. The old secrets may still be used by existing connected projects because they are not automatically redeployed. Redeployment is a manual action and must be completed by the user. All new project connections will use the new secrets.

Use cases for this endpoint:

- Resetting the credentials of a database in the partner. If the user requests the credentials to be updated in the partner’s application, the partner post the new set of secrets to Vercel, the user should redeploy their application and the expire the old credentials.
+ +### Example Usage + +```typescript +import { Vercel } from "@vercel/sdk"; + +const vercel = new Vercel({ + bearerToken: "", +}); + +async function run() { + await vercel.marketplace.updateResourceSecrets({ + integrationConfigurationId: "", + integrationProductIdOrSlug: "", + resourceId: "", + }); + + +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { VercelCore } from "@vercel/sdk/core.js"; +import { marketplaceUpdateResourceSecrets } from "@vercel/sdk/funcs/marketplaceUpdateResourceSecrets.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 marketplaceUpdateResourceSecrets(vercel, { + integrationConfigurationId: "", + integrationProductIdOrSlug: "", + resourceId: "", + }); + + if (!res.ok) { + throw res.error; + } + + const { value: result } = res; + + +} + +run(); +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `request` | [operations.UpdateResourceSecretsRequest](../../models/operations/updateresourcesecretsrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | +| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | +| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | + +### Response + +**Promise\** + +### Errors + +| Error Type | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 4XX, 5XX | \*/\* | + +## exchangeSsoToken + +During the autorization process, Vercel sends the user to the provider [redirectLoginUrl](https://vercel.com/docs/integrations/create-integration/submit-integration#redirect-login-url), that includes the OAuth authorization `code` parameter. The provider then calls the SSO Token Exchange endpoint with the sent code and receives the OIDC token. They log the user in based on this token and redirects the user back to the Vercel account using deep-link parameters included the redirectLoginUrl. This is used to verify the identity of the user during the [**Open in Provider** flow](https://vercel.com/docs/integrations/marketplace-flows#open-in-provider-button-flow). Providers should not persist the returned `id_token` in a database since the token will expire. + +### Example Usage + +```typescript +import { Vercel } from "@vercel/sdk"; + +const vercel = new Vercel(); + +async function run() { + const result = await vercel.marketplace.exchangeSsoToken(); + + // Handle the result + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { VercelCore } from "@vercel/sdk/core.js"; +import { marketplaceExchangeSsoToken } from "@vercel/sdk/funcs/marketplaceExchangeSsoToken.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 marketplaceExchangeSsoToken(vercel); + + if (!res.ok) { + throw res.error; + } + + const { value: result } = res; + + // Handle the result + console.log(result); +} + +run(); +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `request` | [operations.ExchangeSsoTokenRequestBody](../../models/operations/exchangessotokenrequestbody.md) | :heavy_check_mark: | The request object to use for the request. | +| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | +| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | +| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | + +### Response + +**Promise\<[operations.ExchangeSsoTokenResponseBody](../../models/operations/exchangessotokenresponsebody.md)\>** + +### Errors + +| Error Type | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/docs/sdks/projects/README.md b/docs/sdks/projects/README.md index 88ef99ad..e8e6f38a 100644 --- a/docs/sdks/projects/README.md +++ b/docs/sdks/projects/README.md @@ -10,6 +10,7 @@ * [createProject](#createproject) - Create a new project * [updateProject](#updateproject) - Update an existing project * [deleteProject](#deleteproject) - Delete a Project +* [getProjectDomains](#getprojectdomains) - Retrieve project domains by project by id or name * [getProjectDomain](#getprojectdomain) - Get a project domain * [updateProjectDomain](#updateprojectdomain) - Update a project domain * [removeProjectDomain](#removeprojectdomain) - Remove a domain from a project @@ -420,6 +421,90 @@ run(); | --------------- | --------------- | --------------- | | errors.SDKError | 4XX, 5XX | \*/\* | +## getProjectDomains + +Retrieve the domains associated with a given project by passing either the project `id` or `name` in the URL. + +### Example Usage + +```typescript +import { Vercel } from "@vercel/sdk"; + +const vercel = new Vercel({ + bearerToken: "", +}); + +async function run() { + const result = await vercel.projects.getProjectDomains({ + idOrName: "", + redirect: "example.com", + limit: 20, + since: 1609499532000, + until: 1612264332000, + }); + + // Handle the result + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { VercelCore } from "@vercel/sdk/core.js"; +import { projectsGetProjectDomains } from "@vercel/sdk/funcs/projectsGetProjectDomains.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 projectsGetProjectDomains(vercel, { + idOrName: "", + redirect: "example.com", + limit: 20, + since: 1609499532000, + until: 1612264332000, + }); + + if (!res.ok) { + throw res.error; + } + + const { value: result } = res; + + // Handle the result + console.log(result); +} + +run(); +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `request` | [operations.GetProjectDomainsRequest](../../models/operations/getprojectdomainsrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. | +| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. | +| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. | + +### Response + +**Promise\<[operations.GetProjectDomainsResponseBody](../../models/operations/getprojectdomainsresponsebody.md)\>** + +### Errors + +| Error Type | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 4XX, 5XX | \*/\* | + ## getProjectDomain Get project domain by project id/name and domain name. diff --git a/jsr.json b/jsr.json index 69fcf8b7..4e25f4ea 100644 --- a/jsr.json +++ b/jsr.json @@ -2,7 +2,7 @@ { "name": "@vercel/sdk", - "version": "14.0.0-canary.7", + "version": "14.0.0-canary.9", "exports": { ".": "./src/index.ts", "./models/errors": "./src/models/errors/index.ts", diff --git a/package.json b/package.json index a2136afe..4333d5e8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@vercel/sdk", - "version": "14.0.0-canary.7", + "version": "14.0.0-canary.9", "author": "Speakeasy", "type": "module", "main": "./esm/index.js", @@ -25,7 +25,7 @@ "sideEffects": false, "repository": { "type": "git", - "url": "https://github.com/vercel/vercel-sdk.git", + "url": "https://github.com/vercel/sdk.git", "directory": "packages/sdk" }, "scripts": { diff --git a/src/funcs/authenticationExchangeSsoToken.ts b/src/funcs/authenticationExchangeSsoToken.ts new file mode 100644 index 00000000..52222c04 --- /dev/null +++ b/src/funcs/authenticationExchangeSsoToken.ts @@ -0,0 +1,125 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { VercelCore } from "../core.js"; +import { encodeJSON } from "../lib/encodings.js"; +import * as M from "../lib/matchers.js"; +import { safeParse } from "../lib/schemas.js"; +import { RequestOptions } from "../lib/sdks.js"; +import { pathToFunc } from "../lib/url.js"; +import { + ConnectionError, + InvalidRequestError, + RequestAbortedError, + RequestTimeoutError, + UnexpectedClientError, +} from "../models/errors/httpclienterrors.js"; +import { SDKError } from "../models/errors/sdkerror.js"; +import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +import { + ExchangeSsoTokenRequestBody, + ExchangeSsoTokenRequestBody$outboundSchema, + ExchangeSsoTokenResponseBody, + ExchangeSsoTokenResponseBody$inboundSchema, +} from "../models/operations/exchangessotoken.js"; +import { Result } from "../types/fp.js"; + +/** + * SSO Token Exchange + * + * @remarks + * During the autorization process, Vercel sends the user to the provider [redirectLoginUrl](https://vercel.com/docs/integrations/create-integration/submit-integration#redirect-login-url), that includes the OAuth authorization `code` parameter. The provider then calls the SSO Token Exchange endpoint with the sent code and receives the OIDC token. They log the user in based on this token and redirects the user back to the Vercel account using deep-link parameters included the redirectLoginUrl. This is used to verify the identity of the user during the [**Open in Provider** flow](https://vercel.com/docs/integrations/marketplace-flows#open-in-provider-button-flow). Providers should not persist the returned `id_token` in a database since the token will expire. + */ +export async function authenticationExchangeSsoToken( + client: VercelCore, + request?: ExchangeSsoTokenRequestBody | undefined, + options?: RequestOptions, +): Promise< + Result< + ExchangeSsoTokenResponseBody, + | SDKError + | SDKValidationError + | UnexpectedClientError + | InvalidRequestError + | RequestAbortedError + | RequestTimeoutError + | ConnectionError + > +> { + const parsed = safeParse( + request, + (value) => + ExchangeSsoTokenRequestBody$outboundSchema.optional().parse(value), + "Input validation failed", + ); + if (!parsed.ok) { + return parsed; + } + const payload = parsed.value; + const body = payload === undefined + ? null + : encodeJSON("body", payload, { explode: true }); + + const path = pathToFunc("/v1/integrations/sso/token")(); + + const headers = new Headers({ + "Content-Type": "application/json", + Accept: "application/json", + }); + + const context = { + operationID: "exchange-sso-token", + oAuth2Scopes: [], + + 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: "POST", + path: path, + headers: headers, + body: body, + timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1, + }, options); + if (!requestRes.ok) { + return requestRes; + } + const req = requestRes.value; + + const doResult = await client._do(req, { + context, + errorCodes: ["400", "404", "4XX", "500", "5XX"], + retryConfig: context.retryConfig, + retryCodes: context.retryCodes, + }); + if (!doResult.ok) { + return doResult; + } + const response = doResult.value; + + const [result] = await M.match< + ExchangeSsoTokenResponseBody, + | SDKError + | SDKValidationError + | UnexpectedClientError + | InvalidRequestError + | RequestAbortedError + | RequestTimeoutError + | ConnectionError + >( + M.json(200, ExchangeSsoTokenResponseBody$inboundSchema), + M.fail([400, 404, "4XX", 500, "5XX"]), + )(response); + if (!result.ok) { + return result; + } + + return result; +} diff --git a/src/funcs/marketplaceCreateEvent.ts b/src/funcs/marketplaceCreateEvent.ts new file mode 100644 index 00000000..338689dd --- /dev/null +++ b/src/funcs/marketplaceCreateEvent.ts @@ -0,0 +1,137 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { VercelCore } from "../core.js"; +import { encodeJSON, encodeSimple } from "../lib/encodings.js"; +import * as M from "../lib/matchers.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/errors/httpclienterrors.js"; +import { SDKError } from "../models/errors/sdkerror.js"; +import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +import { + CreateEventRequest, + CreateEventRequest$outboundSchema, +} from "../models/operations/createevent.js"; +import { Result } from "../types/fp.js"; + +/** + * Create Event + * + * @remarks + * 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.

`resource.updated` event should be dispatched when any state of a resource linked to Vercel is modified by the partner.

Use cases:

- 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.
+ */ +export async function marketplaceCreateEvent( + client: VercelCore, + request: CreateEventRequest, + options?: RequestOptions, +): Promise< + Result< + void, + | SDKError + | SDKValidationError + | UnexpectedClientError + | InvalidRequestError + | RequestAbortedError + | RequestTimeoutError + | ConnectionError + > +> { + const parsed = safeParse( + request, + (value) => CreateEventRequest$outboundSchema.parse(value), + "Input validation failed", + ); + if (!parsed.ok) { + return parsed; + } + 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}/events", + )(pathParams); + + const headers = new Headers({ + "Content-Type": "application/json", + Accept: "*/*", + }); + + const secConfig = await extractSecurity(client._options.bearerToken); + const securityInput = secConfig == null ? {} : { bearerToken: secConfig }; + const requestSecurity = resolveGlobalSecurity(securityInput); + + const context = { + operationID: "create-event", + oAuth2Scopes: [], + + 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", + path: path, + headers: headers, + body: body, + timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1, + }, options); + if (!requestRes.ok) { + return requestRes; + } + 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; + } + const response = doResult.value; + + const [result] = await M.match< + void, + | SDKError + | SDKValidationError + | UnexpectedClientError + | InvalidRequestError + | RequestAbortedError + | RequestTimeoutError + | ConnectionError + >( + M.nil(201, z.void()), + M.fail([400, 401, 403, "4XX", "5XX"]), + )(response); + if (!result.ok) { + return result; + } + + return result; +} diff --git a/src/funcs/marketplaceExchangeSsoToken.ts b/src/funcs/marketplaceExchangeSsoToken.ts new file mode 100644 index 00000000..c61363c0 --- /dev/null +++ b/src/funcs/marketplaceExchangeSsoToken.ts @@ -0,0 +1,125 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { VercelCore } from "../core.js"; +import { encodeJSON } from "../lib/encodings.js"; +import * as M from "../lib/matchers.js"; +import { safeParse } from "../lib/schemas.js"; +import { RequestOptions } from "../lib/sdks.js"; +import { pathToFunc } from "../lib/url.js"; +import { + ConnectionError, + InvalidRequestError, + RequestAbortedError, + RequestTimeoutError, + UnexpectedClientError, +} from "../models/errors/httpclienterrors.js"; +import { SDKError } from "../models/errors/sdkerror.js"; +import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +import { + ExchangeSsoTokenRequestBody, + ExchangeSsoTokenRequestBody$outboundSchema, + ExchangeSsoTokenResponseBody, + ExchangeSsoTokenResponseBody$inboundSchema, +} from "../models/operations/exchangessotoken.js"; +import { Result } from "../types/fp.js"; + +/** + * SSO Token Exchange + * + * @remarks + * During the autorization process, Vercel sends the user to the provider [redirectLoginUrl](https://vercel.com/docs/integrations/create-integration/submit-integration#redirect-login-url), that includes the OAuth authorization `code` parameter. The provider then calls the SSO Token Exchange endpoint with the sent code and receives the OIDC token. They log the user in based on this token and redirects the user back to the Vercel account using deep-link parameters included the redirectLoginUrl. This is used to verify the identity of the user during the [**Open in Provider** flow](https://vercel.com/docs/integrations/marketplace-flows#open-in-provider-button-flow). Providers should not persist the returned `id_token` in a database since the token will expire. + */ +export async function marketplaceExchangeSsoToken( + client: VercelCore, + request?: ExchangeSsoTokenRequestBody | undefined, + options?: RequestOptions, +): Promise< + Result< + ExchangeSsoTokenResponseBody, + | SDKError + | SDKValidationError + | UnexpectedClientError + | InvalidRequestError + | RequestAbortedError + | RequestTimeoutError + | ConnectionError + > +> { + const parsed = safeParse( + request, + (value) => + ExchangeSsoTokenRequestBody$outboundSchema.optional().parse(value), + "Input validation failed", + ); + if (!parsed.ok) { + return parsed; + } + const payload = parsed.value; + const body = payload === undefined + ? null + : encodeJSON("body", payload, { explode: true }); + + const path = pathToFunc("/v1/integrations/sso/token")(); + + const headers = new Headers({ + "Content-Type": "application/json", + Accept: "application/json", + }); + + const context = { + operationID: "exchange-sso-token", + oAuth2Scopes: [], + + 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: "POST", + path: path, + headers: headers, + body: body, + timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1, + }, options); + if (!requestRes.ok) { + return requestRes; + } + const req = requestRes.value; + + const doResult = await client._do(req, { + context, + errorCodes: ["400", "404", "4XX", "500", "5XX"], + retryConfig: context.retryConfig, + retryCodes: context.retryCodes, + }); + if (!doResult.ok) { + return doResult; + } + const response = doResult.value; + + const [result] = await M.match< + ExchangeSsoTokenResponseBody, + | SDKError + | SDKValidationError + | UnexpectedClientError + | InvalidRequestError + | RequestAbortedError + | RequestTimeoutError + | ConnectionError + >( + M.json(200, ExchangeSsoTokenResponseBody$inboundSchema), + M.fail([400, 404, "4XX", 500, "5XX"]), + )(response); + if (!result.ok) { + return result; + } + + return result; +} diff --git a/src/funcs/marketplaceGetAccountInfo.ts b/src/funcs/marketplaceGetAccountInfo.ts new file mode 100644 index 00000000..6af17176 --- /dev/null +++ b/src/funcs/marketplaceGetAccountInfo.ts @@ -0,0 +1,137 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { VercelCore } from "../core.js"; +import { encodeSimple } from "../lib/encodings.js"; +import * as M from "../lib/matchers.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/errors/httpclienterrors.js"; +import { SDKError } from "../models/errors/sdkerror.js"; +import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +import { + GetAccountInfoRequest, + GetAccountInfoRequest$outboundSchema, + GetAccountInfoResponseBody, + GetAccountInfoResponseBody$inboundSchema, +} from "../models/operations/getaccountinfo.js"; +import { Result } from "../types/fp.js"; + +/** + * Get Account Information + * + * @remarks + * Fetches the best account or user’s contact info + */ +export async function marketplaceGetAccountInfo( + client: VercelCore, + request: GetAccountInfoRequest, + options?: RequestOptions, +): Promise< + Result< + GetAccountInfoResponseBody, + | SDKError + | SDKValidationError + | UnexpectedClientError + | InvalidRequestError + | RequestAbortedError + | RequestTimeoutError + | ConnectionError + > +> { + const parsed = safeParse( + request, + (value) => GetAccountInfoRequest$outboundSchema.parse(value), + "Input validation failed", + ); + if (!parsed.ok) { + return parsed; + } + const payload = parsed.value; + const body = null; + + const pathParams = { + integrationConfigurationId: encodeSimple( + "integrationConfigurationId", + payload.integrationConfigurationId, + { explode: false, charEncoding: "percent" }, + ), + }; + + const path = pathToFunc( + "/v1/installations/{integrationConfigurationId}/account", + )(pathParams); + + const headers = new Headers({ + Accept: "application/json", + }); + + const secConfig = await extractSecurity(client._options.bearerToken); + const securityInput = secConfig == null ? {} : { bearerToken: secConfig }; + const requestSecurity = resolveGlobalSecurity(securityInput); + + const context = { + operationID: "get-account-info", + oAuth2Scopes: [], + + 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", + path: path, + headers: headers, + body: body, + timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1, + }, options); + if (!requestRes.ok) { + return requestRes; + } + 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; + } + const response = doResult.value; + + const [result] = await M.match< + GetAccountInfoResponseBody, + | SDKError + | SDKValidationError + | UnexpectedClientError + | InvalidRequestError + | RequestAbortedError + | RequestTimeoutError + | ConnectionError + >( + M.json(200, GetAccountInfoResponseBody$inboundSchema), + M.fail([400, 401, 403, "4XX", "5XX"]), + )(response); + if (!result.ok) { + return result; + } + + return result; +} diff --git a/src/funcs/marketplaceGetInvoice.ts b/src/funcs/marketplaceGetInvoice.ts new file mode 100644 index 00000000..2166d6bd --- /dev/null +++ b/src/funcs/marketplaceGetInvoice.ts @@ -0,0 +1,141 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { VercelCore } from "../core.js"; +import { encodeSimple } from "../lib/encodings.js"; +import * as M from "../lib/matchers.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/errors/httpclienterrors.js"; +import { SDKError } from "../models/errors/sdkerror.js"; +import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +import { + GetInvoiceRequest, + GetInvoiceRequest$outboundSchema, + GetInvoiceResponseBody, + GetInvoiceResponseBody$inboundSchema, +} from "../models/operations/getinvoice.js"; +import { Result } from "../types/fp.js"; + +/** + * Get Invoice + * + * @remarks + * Get Invoice details and status for a given invoice ID.

See Billing Events with Webhooks documentation on how to receive invoice events. This endpoint is used to retrieve the invoice details. + */ +export async function marketplaceGetInvoice( + client: VercelCore, + request: GetInvoiceRequest, + options?: RequestOptions, +): Promise< + Result< + GetInvoiceResponseBody, + | SDKError + | SDKValidationError + | UnexpectedClientError + | InvalidRequestError + | RequestAbortedError + | RequestTimeoutError + | ConnectionError + > +> { + const parsed = safeParse( + request, + (value) => GetInvoiceRequest$outboundSchema.parse(value), + "Input validation failed", + ); + if (!parsed.ok) { + return parsed; + } + const payload = parsed.value; + const body = null; + + const pathParams = { + integrationConfigurationId: encodeSimple( + "integrationConfigurationId", + payload.integrationConfigurationId, + { explode: false, charEncoding: "percent" }, + ), + invoiceId: encodeSimple("invoiceId", payload.invoiceId, { + explode: false, + charEncoding: "percent", + }), + }; + + const path = pathToFunc( + "/v1/installations/{integrationConfigurationId}/billing/invoices/{invoiceId}", + )(pathParams); + + const headers = new Headers({ + Accept: "application/json", + }); + + const secConfig = await extractSecurity(client._options.bearerToken); + const securityInput = secConfig == null ? {} : { bearerToken: secConfig }; + const requestSecurity = resolveGlobalSecurity(securityInput); + + const context = { + operationID: "get-invoice", + oAuth2Scopes: [], + + 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", + path: path, + headers: headers, + body: body, + timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1, + }, options); + if (!requestRes.ok) { + return requestRes; + } + 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; + } + const response = doResult.value; + + const [result] = await M.match< + GetInvoiceResponseBody, + | SDKError + | SDKValidationError + | UnexpectedClientError + | InvalidRequestError + | RequestAbortedError + | RequestTimeoutError + | ConnectionError + >( + M.json(200, GetInvoiceResponseBody$inboundSchema), + M.fail([400, 401, 403, 404, "4XX", "5XX"]), + )(response); + if (!result.ok) { + return result; + } + + return result; +} diff --git a/src/funcs/marketplaceGetMember.ts b/src/funcs/marketplaceGetMember.ts new file mode 100644 index 00000000..de555b44 --- /dev/null +++ b/src/funcs/marketplaceGetMember.ts @@ -0,0 +1,141 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { VercelCore } from "../core.js"; +import { encodeSimple } from "../lib/encodings.js"; +import * as M from "../lib/matchers.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/errors/httpclienterrors.js"; +import { SDKError } from "../models/errors/sdkerror.js"; +import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +import { + GetMemberRequest, + GetMemberRequest$outboundSchema, + GetMemberResponseBody, + GetMemberResponseBody$inboundSchema, +} from "../models/operations/getmember.js"; +import { Result } from "../types/fp.js"; + +/** + * Get Member Information + * + * @remarks + * Returns the member role and other information for a given member ID ("user_id" claim in the SSO OIDC token). + */ +export async function marketplaceGetMember( + client: VercelCore, + request: GetMemberRequest, + options?: RequestOptions, +): Promise< + Result< + GetMemberResponseBody, + | SDKError + | SDKValidationError + | UnexpectedClientError + | InvalidRequestError + | RequestAbortedError + | RequestTimeoutError + | ConnectionError + > +> { + const parsed = safeParse( + request, + (value) => GetMemberRequest$outboundSchema.parse(value), + "Input validation failed", + ); + if (!parsed.ok) { + return parsed; + } + const payload = parsed.value; + const body = null; + + const pathParams = { + integrationConfigurationId: encodeSimple( + "integrationConfigurationId", + payload.integrationConfigurationId, + { explode: false, charEncoding: "percent" }, + ), + memberId: encodeSimple("memberId", payload.memberId, { + explode: false, + charEncoding: "percent", + }), + }; + + const path = pathToFunc( + "/v1/installations/{integrationConfigurationId}/member/{memberId}", + )(pathParams); + + const headers = new Headers({ + Accept: "application/json", + }); + + const secConfig = await extractSecurity(client._options.bearerToken); + const securityInput = secConfig == null ? {} : { bearerToken: secConfig }; + const requestSecurity = resolveGlobalSecurity(securityInput); + + const context = { + operationID: "get-member", + oAuth2Scopes: [], + + 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", + path: path, + headers: headers, + body: body, + timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1, + }, options); + if (!requestRes.ok) { + return requestRes; + } + 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; + } + const response = doResult.value; + + const [result] = await M.match< + GetMemberResponseBody, + | SDKError + | SDKValidationError + | UnexpectedClientError + | InvalidRequestError + | RequestAbortedError + | RequestTimeoutError + | ConnectionError + >( + M.json(200, GetMemberResponseBody$inboundSchema), + M.fail([400, 401, 403, 404, "4XX", "5XX"]), + )(response); + if (!result.ok) { + return result; + } + + return result; +} diff --git a/src/funcs/marketplaceSubmitBillingData.ts b/src/funcs/marketplaceSubmitBillingData.ts new file mode 100644 index 00000000..438e60e8 --- /dev/null +++ b/src/funcs/marketplaceSubmitBillingData.ts @@ -0,0 +1,137 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { VercelCore } from "../core.js"; +import { encodeJSON, encodeSimple } from "../lib/encodings.js"; +import * as M from "../lib/matchers.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/errors/httpclienterrors.js"; +import { SDKError } from "../models/errors/sdkerror.js"; +import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +import { + SubmitBillingDataRequest, + SubmitBillingDataRequest$outboundSchema, +} from "../models/operations/submitbillingdata.js"; +import { Result } from "../types/fp.js"; + +/** + * Submit Billing Data + * + * @remarks + * Sends the billing and usage data. The partner should do this at least once a day and ideally once per hour. + */ +export async function marketplaceSubmitBillingData( + client: VercelCore, + request: SubmitBillingDataRequest, + options?: RequestOptions, +): Promise< + Result< + void, + | SDKError + | SDKValidationError + | UnexpectedClientError + | InvalidRequestError + | RequestAbortedError + | RequestTimeoutError + | ConnectionError + > +> { + const parsed = safeParse( + request, + (value) => SubmitBillingDataRequest$outboundSchema.parse(value), + "Input validation failed", + ); + if (!parsed.ok) { + return parsed; + } + 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}/billing", + )(pathParams); + + const headers = new Headers({ + "Content-Type": "application/json", + Accept: "*/*", + }); + + const secConfig = await extractSecurity(client._options.bearerToken); + const securityInput = secConfig == null ? {} : { bearerToken: secConfig }; + const requestSecurity = resolveGlobalSecurity(securityInput); + + const context = { + operationID: "submit-billing-data", + oAuth2Scopes: [], + + 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", + path: path, + headers: headers, + body: body, + timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1, + }, options); + if (!requestRes.ok) { + return requestRes; + } + 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; + } + const response = doResult.value; + + const [result] = await M.match< + void, + | SDKError + | SDKValidationError + | UnexpectedClientError + | InvalidRequestError + | RequestAbortedError + | RequestTimeoutError + | ConnectionError + >( + M.nil(201, z.void()), + M.fail([400, 401, 403, "4XX", "5XX"]), + )(response); + if (!result.ok) { + return result; + } + + return result; +} diff --git a/src/funcs/marketplaceSubmitInvoice.ts b/src/funcs/marketplaceSubmitInvoice.ts new file mode 100644 index 00000000..b9cbb416 --- /dev/null +++ b/src/funcs/marketplaceSubmitInvoice.ts @@ -0,0 +1,138 @@ +/* + * 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 { 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/errors/httpclienterrors.js"; +import { SDKError } from "../models/errors/sdkerror.js"; +import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +import { + SubmitInvoiceRequest, + SubmitInvoiceRequest$outboundSchema, + SubmitInvoiceResponseBody, + SubmitInvoiceResponseBody$inboundSchema, +} from "../models/operations/submitinvoice.js"; +import { Result } from "../types/fp.js"; + +/** + * Submit Invoice + * + * @remarks + * This endpoint allows the partner to submit an invoice to Vercel. The invoice is created in Vercel's billing system and sent to the customer. Depending on the type of billing plan, the invoice can be sent at a time of signup, at the start of the billing period, or at the end of the billing period.

There are several limitations to the invoice submission:

1. A resource can only be billed once per the billing period and the billing plan.
2. The billing plan used to bill the resource must have been active for this resource during the billing period.
3. The billing plan used must be a subscription plan.
4. The interim usage data must be sent hourly for all types of subscriptions. See [Send subscription billing and usage data](#send-subscription-billing-and-usage-data) API on how to send interim billing and usage data.
+ */ +export async function marketplaceSubmitInvoice( + client: VercelCore, + request: SubmitInvoiceRequest, + options?: RequestOptions, +): Promise< + Result< + SubmitInvoiceResponseBody, + | SDKError + | SDKValidationError + | UnexpectedClientError + | InvalidRequestError + | RequestAbortedError + | RequestTimeoutError + | ConnectionError + > +> { + const parsed = safeParse( + request, + (value) => SubmitInvoiceRequest$outboundSchema.parse(value), + "Input validation failed", + ); + if (!parsed.ok) { + return parsed; + } + 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}/billing/invoices", + )(pathParams); + + const headers = new Headers({ + "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 = { + operationID: "submit-invoice", + oAuth2Scopes: [], + + 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", + path: path, + headers: headers, + body: body, + timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1, + }, options); + if (!requestRes.ok) { + return requestRes; + } + 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; + } + const response = doResult.value; + + const [result] = await M.match< + SubmitInvoiceResponseBody, + | SDKError + | SDKValidationError + | UnexpectedClientError + | InvalidRequestError + | RequestAbortedError + | RequestTimeoutError + | ConnectionError + >( + M.json(200, SubmitInvoiceResponseBody$inboundSchema), + M.fail([400, 401, 403, "4XX", "5XX"]), + )(response); + if (!result.ok) { + return result; + } + + return result; +} diff --git a/src/funcs/marketplaceUpdateInvoice.ts b/src/funcs/marketplaceUpdateInvoice.ts new file mode 100644 index 00000000..06541fb5 --- /dev/null +++ b/src/funcs/marketplaceUpdateInvoice.ts @@ -0,0 +1,141 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { VercelCore } from "../core.js"; +import { encodeJSON, encodeSimple } from "../lib/encodings.js"; +import * as M from "../lib/matchers.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/errors/httpclienterrors.js"; +import { SDKError } from "../models/errors/sdkerror.js"; +import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +import { + UpdateInvoiceRequest, + UpdateInvoiceRequest$outboundSchema, +} from "../models/operations/updateinvoice.js"; +import { Result } from "../types/fp.js"; + +/** + * Invoice Actions + * + * @remarks + * This endpoint allows the partner to request a refund for an invoice to Vercel. The invoice is created using the [Submit Invoice API](#submit-invoice-api). + */ +export async function marketplaceUpdateInvoice( + client: VercelCore, + request: UpdateInvoiceRequest, + options?: RequestOptions, +): Promise< + Result< + void, + | SDKError + | SDKValidationError + | UnexpectedClientError + | InvalidRequestError + | RequestAbortedError + | RequestTimeoutError + | ConnectionError + > +> { + const parsed = safeParse( + request, + (value) => UpdateInvoiceRequest$outboundSchema.parse(value), + "Input validation failed", + ); + if (!parsed.ok) { + return parsed; + } + const payload = parsed.value; + const body = encodeJSON("body", payload.RequestBody, { explode: true }); + + const pathParams = { + integrationConfigurationId: encodeSimple( + "integrationConfigurationId", + payload.integrationConfigurationId, + { explode: false, charEncoding: "percent" }, + ), + invoiceId: encodeSimple("invoiceId", payload.invoiceId, { + explode: false, + charEncoding: "percent", + }), + }; + + const path = pathToFunc( + "/v1/installations/{integrationConfigurationId}/billing/invoices/{invoiceId}/actions", + )(pathParams); + + const headers = new Headers({ + "Content-Type": "application/json", + Accept: "*/*", + }); + + const secConfig = await extractSecurity(client._options.bearerToken); + const securityInput = secConfig == null ? {} : { bearerToken: secConfig }; + const requestSecurity = resolveGlobalSecurity(securityInput); + + const context = { + operationID: "update-invoice", + oAuth2Scopes: [], + + 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", + path: path, + headers: headers, + body: body, + timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1, + }, options); + if (!requestRes.ok) { + return requestRes; + } + 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; + } + const response = doResult.value; + + const [result] = await M.match< + void, + | SDKError + | SDKValidationError + | UnexpectedClientError + | InvalidRequestError + | RequestAbortedError + | RequestTimeoutError + | ConnectionError + >( + M.nil(204, z.void()), + M.fail([400, 401, 403, 404, "4XX", "5XX"]), + )(response); + if (!result.ok) { + return result; + } + + return result; +} diff --git a/src/funcs/marketplaceUpdateResourceSecrets.ts b/src/funcs/marketplaceUpdateResourceSecrets.ts new file mode 100644 index 00000000..3a085c9b --- /dev/null +++ b/src/funcs/marketplaceUpdateResourceSecrets.ts @@ -0,0 +1,146 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { VercelCore } from "../core.js"; +import { encodeJSON, encodeSimple } from "../lib/encodings.js"; +import * as M from "../lib/matchers.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/errors/httpclienterrors.js"; +import { SDKError } from "../models/errors/sdkerror.js"; +import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +import { + UpdateResourceSecretsRequest, + UpdateResourceSecretsRequest$outboundSchema, +} from "../models/operations/updateresourcesecrets.js"; +import { Result } from "../types/fp.js"; + +/** + * Update Resource Secrets + * + * @remarks + * This endpoint updates the secrets of a resource. If a resource has projects connected, the connected secrets are updated with the new secrets. The old secrets may still be used by existing connected projects because they are not automatically redeployed. Redeployment is a manual action and must be completed by the user. All new project connections will use the new secrets.

Use cases for this endpoint:

- Resetting the credentials of a database in the partner. If the user requests the credentials to be updated in the partner’s application, the partner post the new set of secrets to Vercel, the user should redeploy their application and the expire the old credentials.
+ */ +export async function marketplaceUpdateResourceSecrets( + client: VercelCore, + request: UpdateResourceSecretsRequest, + options?: RequestOptions, +): Promise< + Result< + void, + | SDKError + | SDKValidationError + | UnexpectedClientError + | InvalidRequestError + | RequestAbortedError + | RequestTimeoutError + | ConnectionError + > +> { + const parsed = safeParse( + request, + (value) => UpdateResourceSecretsRequest$outboundSchema.parse(value), + "Input validation failed", + ); + if (!parsed.ok) { + return parsed; + } + const payload = parsed.value; + const body = encodeJSON("body", payload.RequestBody, { explode: true }); + + const pathParams = { + integrationConfigurationId: encodeSimple( + "integrationConfigurationId", + payload.integrationConfigurationId, + { explode: false, charEncoding: "percent" }, + ), + integrationProductIdOrSlug: encodeSimple( + "integrationProductIdOrSlug", + payload.integrationProductIdOrSlug, + { explode: false, charEncoding: "percent" }, + ), + resourceId: encodeSimple("resourceId", payload.resourceId, { + explode: false, + charEncoding: "percent", + }), + }; + + const path = pathToFunc( + "/v1/installations/{integrationConfigurationId}/products/{integrationProductIdOrSlug}/resources/{resourceId}/secrets", + )(pathParams); + + const headers = new Headers({ + "Content-Type": "application/json", + Accept: "*/*", + }); + + const secConfig = await extractSecurity(client._options.bearerToken); + const securityInput = secConfig == null ? {} : { bearerToken: secConfig }; + const requestSecurity = resolveGlobalSecurity(securityInput); + + const context = { + operationID: "update-resource-secrets", + oAuth2Scopes: [], + + 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: "PUT", + path: path, + headers: headers, + body: body, + timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1, + }, options); + if (!requestRes.ok) { + return requestRes; + } + 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; + } + const response = doResult.value; + + const [result] = await M.match< + void, + | SDKError + | SDKValidationError + | UnexpectedClientError + | InvalidRequestError + | RequestAbortedError + | RequestTimeoutError + | ConnectionError + >( + M.nil(201, z.void()), + M.fail([400, 401, 403, 404, "4XX", "5XX"]), + )(response); + if (!result.ok) { + return result; + } + + return result; +} diff --git a/src/funcs/projectsGetProjectDomains.ts b/src/funcs/projectsGetProjectDomains.ts new file mode 100644 index 00000000..550be0e3 --- /dev/null +++ b/src/funcs/projectsGetProjectDomains.ts @@ -0,0 +1,150 @@ +/* + * 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 { 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/errors/httpclienterrors.js"; +import { SDKError } from "../models/errors/sdkerror.js"; +import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; +import { + GetProjectDomainsRequest, + GetProjectDomainsRequest$outboundSchema, + GetProjectDomainsResponseBody, + GetProjectDomainsResponseBody$inboundSchema, +} from "../models/operations/getprojectdomains.js"; +import { Result } from "../types/fp.js"; + +/** + * Retrieve project domains by project by id or name + * + * @remarks + * Retrieve the domains associated with a given project by passing either the project `id` or `name` in the URL. + */ +export async function projectsGetProjectDomains( + client: VercelCore, + request: GetProjectDomainsRequest, + options?: RequestOptions, +): Promise< + Result< + GetProjectDomainsResponseBody, + | SDKError + | SDKValidationError + | UnexpectedClientError + | InvalidRequestError + | RequestAbortedError + | RequestTimeoutError + | ConnectionError + > +> { + const parsed = safeParse( + request, + (value) => GetProjectDomainsRequest$outboundSchema.parse(value), + "Input validation failed", + ); + if (!parsed.ok) { + return parsed; + } + const payload = parsed.value; + const body = null; + + const pathParams = { + idOrName: encodeSimple("idOrName", payload.idOrName, { + explode: false, + charEncoding: "percent", + }), + }; + + const path = pathToFunc("/v9/projects/{idOrName}/domains")(pathParams); + + const query = encodeFormQuery({ + "gitBranch": payload.gitBranch, + "limit": payload.limit, + "order": payload.order, + "production": payload.production, + "redirect": payload.redirect, + "redirects": payload.redirects, + "since": payload.since, + "slug": payload.slug, + "target": payload.target, + "teamId": payload.teamId, + "until": payload.until, + "verified": payload.verified, + }); + + const headers = new Headers({ + Accept: "application/json", + }); + + const secConfig = await extractSecurity(client._options.bearerToken); + const securityInput = secConfig == null ? {} : { bearerToken: secConfig }; + const requestSecurity = resolveGlobalSecurity(securityInput); + + const context = { + operationID: "getProjectDomains", + oAuth2Scopes: [], + + 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", + path: path, + headers: headers, + query: query, + body: body, + timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1, + }, options); + if (!requestRes.ok) { + return requestRes; + } + 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; + } + const response = doResult.value; + + const [result] = await M.match< + GetProjectDomainsResponseBody, + | SDKError + | SDKValidationError + | UnexpectedClientError + | InvalidRequestError + | RequestAbortedError + | RequestTimeoutError + | ConnectionError + >( + M.json(200, GetProjectDomainsResponseBody$inboundSchema), + M.fail([400, 401, 403, "4XX", "5XX"]), + )(response); + if (!result.ok) { + return result; + } + + return result; +} diff --git a/src/lib/config.ts b/src/lib/config.ts index dd2a4c7b..1f50407f 100644 --- a/src/lib/config.ts +++ b/src/lib/config.ts @@ -57,8 +57,8 @@ export function serverURLFromOptions(options: SDKOptions): URL | null { export const SDK_METADATA = { language: "typescript", openapiDocVersion: "0.0.1", - sdkVersion: "14.0.0-canary.7", + sdkVersion: "14.0.0-canary.9", genVersion: "2.461.4", userAgent: - "speakeasy-sdk/typescript 14.0.0-canary.7 2.461.4 0.0.1 @vercel/sdk", + "speakeasy-sdk/typescript 14.0.0-canary.9 2.461.4 0.0.1 @vercel/sdk", } as const; diff --git a/src/models/components/authuser.ts b/src/models/components/authuser.ts index 2d819566..0f6abdb3 100644 --- a/src/models/components/authuser.ts +++ b/src/models/components/authuser.ts @@ -36,14 +36,15 @@ export const BlockedDueToOverageType = { EdgeConfigWrite: "edgeConfigWrite", EdgeFunctionExecutionUnits: "edgeFunctionExecutionUnits", EdgeMiddlewareInvocations: "edgeMiddlewareInvocations", - EdgeRequest: "edgeRequest", EdgeRequestAdditionalCpuDuration: "edgeRequestAdditionalCpuDuration", + EdgeRequest: "edgeRequest", FastDataTransfer: "fastDataTransfer", FastOriginTransfer: "fastOriginTransfer", FunctionDuration: "functionDuration", FunctionInvocation: "functionInvocation", LogDrainsVolume: "logDrainsVolume", MonitoringMetric: "monitoringMetric", + ObservabilityEvent: "observabilityEvent", PostgresComputeTime: "postgresComputeTime", PostgresDataStorage: "postgresDataStorage", PostgresDataTransfer: "postgresDataTransfer", diff --git a/src/models/components/security.ts b/src/models/components/security.ts index 6cc5bb1c..5d0eb12c 100644 --- a/src/models/components/security.ts +++ b/src/models/components/security.ts @@ -8,7 +8,7 @@ import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type Security = { - bearerToken: string; + bearerToken?: string | undefined; }; /** @internal */ @@ -17,12 +17,12 @@ export const Security$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - bearerToken: z.string(), + bearerToken: z.string().optional(), }); /** @internal */ export type Security$Outbound = { - bearerToken: string; + bearerToken?: string | undefined; }; /** @internal */ @@ -31,7 +31,7 @@ export const Security$outboundSchema: z.ZodType< z.ZodTypeDef, Security > = z.object({ - bearerToken: z.string(), + bearerToken: z.string().optional(), }); /** diff --git a/src/models/operations/createevent.ts b/src/models/operations/createevent.ts new file mode 100644 index 00000000..4e1dae97 --- /dev/null +++ b/src/models/operations/createevent.ts @@ -0,0 +1,373 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { remap as remap$ } from "../../lib/primitives.js"; +import { safeParse } from "../../lib/schemas.js"; +import { ClosedEnum } from "../../types/enums.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; + +export const CreateEventEventType = { + ResourceUpdated: "resource.updated", +} as const; +export type CreateEventEventType = ClosedEnum; + +export type Event2 = { + type: CreateEventEventType; + /** + * Partner-provided product slug or id + */ + productId: string; + /** + * Partner provided resource ID + */ + resourceId: string; +}; + +export const EventType = { + InstallationUpdated: "installation.updated", +} as const; +export type EventType = ClosedEnum; + +export type Event1 = { + type: EventType; + /** + * The installation-level billing plan ID + */ + billingPlanId?: string | undefined; +}; + +export type CreateEventEvent = Event1 | Event2; + +export type CreateEventRequestBody = { + event: Event1 | Event2; +}; + +export type CreateEventRequest = { + integrationConfigurationId: string; + requestBody?: CreateEventRequestBody | undefined; +}; + +/** @internal */ +export const CreateEventEventType$inboundSchema: z.ZodNativeEnum< + typeof CreateEventEventType +> = z.nativeEnum(CreateEventEventType); + +/** @internal */ +export const CreateEventEventType$outboundSchema: z.ZodNativeEnum< + typeof CreateEventEventType +> = CreateEventEventType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateEventEventType$ { + /** @deprecated use `CreateEventEventType$inboundSchema` instead. */ + export const inboundSchema = CreateEventEventType$inboundSchema; + /** @deprecated use `CreateEventEventType$outboundSchema` instead. */ + export const outboundSchema = CreateEventEventType$outboundSchema; +} + +/** @internal */ +export const Event2$inboundSchema: z.ZodType = z + .object({ + type: CreateEventEventType$inboundSchema, + productId: z.string(), + resourceId: z.string(), + }); + +/** @internal */ +export type Event2$Outbound = { + type: string; + productId: string; + resourceId: string; +}; + +/** @internal */ +export const Event2$outboundSchema: z.ZodType< + Event2$Outbound, + z.ZodTypeDef, + Event2 +> = z.object({ + type: CreateEventEventType$outboundSchema, + productId: z.string(), + resourceId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Event2$ { + /** @deprecated use `Event2$inboundSchema` instead. */ + export const inboundSchema = Event2$inboundSchema; + /** @deprecated use `Event2$outboundSchema` instead. */ + export const outboundSchema = Event2$outboundSchema; + /** @deprecated use `Event2$Outbound` instead. */ + export type Outbound = Event2$Outbound; +} + +export function event2ToJSON(event2: Event2): string { + return JSON.stringify(Event2$outboundSchema.parse(event2)); +} + +export function event2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Event2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Event2' from JSON`, + ); +} + +/** @internal */ +export const EventType$inboundSchema: z.ZodNativeEnum = z + .nativeEnum(EventType); + +/** @internal */ +export const EventType$outboundSchema: z.ZodNativeEnum = + EventType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace EventType$ { + /** @deprecated use `EventType$inboundSchema` instead. */ + export const inboundSchema = EventType$inboundSchema; + /** @deprecated use `EventType$outboundSchema` instead. */ + export const outboundSchema = EventType$outboundSchema; +} + +/** @internal */ +export const Event1$inboundSchema: z.ZodType = z + .object({ + type: EventType$inboundSchema, + billingPlanId: z.string().optional(), + }); + +/** @internal */ +export type Event1$Outbound = { + type: string; + billingPlanId?: string | undefined; +}; + +/** @internal */ +export const Event1$outboundSchema: z.ZodType< + Event1$Outbound, + z.ZodTypeDef, + Event1 +> = z.object({ + type: EventType$outboundSchema, + billingPlanId: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Event1$ { + /** @deprecated use `Event1$inboundSchema` instead. */ + export const inboundSchema = Event1$inboundSchema; + /** @deprecated use `Event1$outboundSchema` instead. */ + export const outboundSchema = Event1$outboundSchema; + /** @deprecated use `Event1$Outbound` instead. */ + export type Outbound = Event1$Outbound; +} + +export function event1ToJSON(event1: Event1): string { + return JSON.stringify(Event1$outboundSchema.parse(event1)); +} + +export function event1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Event1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Event1' from JSON`, + ); +} + +/** @internal */ +export const CreateEventEvent$inboundSchema: z.ZodType< + CreateEventEvent, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => Event1$inboundSchema), + z.lazy(() => Event2$inboundSchema), +]); + +/** @internal */ +export type CreateEventEvent$Outbound = Event1$Outbound | Event2$Outbound; + +/** @internal */ +export const CreateEventEvent$outboundSchema: z.ZodType< + CreateEventEvent$Outbound, + z.ZodTypeDef, + CreateEventEvent +> = z.union([ + z.lazy(() => Event1$outboundSchema), + z.lazy(() => Event2$outboundSchema), +]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateEventEvent$ { + /** @deprecated use `CreateEventEvent$inboundSchema` instead. */ + export const inboundSchema = CreateEventEvent$inboundSchema; + /** @deprecated use `CreateEventEvent$outboundSchema` instead. */ + export const outboundSchema = CreateEventEvent$outboundSchema; + /** @deprecated use `CreateEventEvent$Outbound` instead. */ + export type Outbound = CreateEventEvent$Outbound; +} + +export function createEventEventToJSON( + createEventEvent: CreateEventEvent, +): string { + return JSON.stringify( + CreateEventEvent$outboundSchema.parse(createEventEvent), + ); +} + +export function createEventEventFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateEventEvent$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateEventEvent' from JSON`, + ); +} + +/** @internal */ +export const CreateEventRequestBody$inboundSchema: z.ZodType< + CreateEventRequestBody, + z.ZodTypeDef, + unknown +> = z.object({ + event: z.union([ + z.lazy(() => Event1$inboundSchema), + z.lazy(() => Event2$inboundSchema), + ]), +}); + +/** @internal */ +export type CreateEventRequestBody$Outbound = { + event: Event1$Outbound | Event2$Outbound; +}; + +/** @internal */ +export const CreateEventRequestBody$outboundSchema: z.ZodType< + CreateEventRequestBody$Outbound, + z.ZodTypeDef, + CreateEventRequestBody +> = z.object({ + event: z.union([ + z.lazy(() => Event1$outboundSchema), + z.lazy(() => Event2$outboundSchema), + ]), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateEventRequestBody$ { + /** @deprecated use `CreateEventRequestBody$inboundSchema` instead. */ + export const inboundSchema = CreateEventRequestBody$inboundSchema; + /** @deprecated use `CreateEventRequestBody$outboundSchema` instead. */ + export const outboundSchema = CreateEventRequestBody$outboundSchema; + /** @deprecated use `CreateEventRequestBody$Outbound` instead. */ + export type Outbound = CreateEventRequestBody$Outbound; +} + +export function createEventRequestBodyToJSON( + createEventRequestBody: CreateEventRequestBody, +): string { + return JSON.stringify( + CreateEventRequestBody$outboundSchema.parse(createEventRequestBody), + ); +} + +export function createEventRequestBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateEventRequestBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateEventRequestBody' from JSON`, + ); +} + +/** @internal */ +export const CreateEventRequest$inboundSchema: z.ZodType< + CreateEventRequest, + z.ZodTypeDef, + unknown +> = z.object({ + integrationConfigurationId: z.string(), + RequestBody: z.lazy(() => CreateEventRequestBody$inboundSchema).optional(), +}).transform((v) => { + return remap$(v, { + "RequestBody": "requestBody", + }); +}); + +/** @internal */ +export type CreateEventRequest$Outbound = { + integrationConfigurationId: string; + RequestBody?: CreateEventRequestBody$Outbound | undefined; +}; + +/** @internal */ +export const CreateEventRequest$outboundSchema: z.ZodType< + CreateEventRequest$Outbound, + z.ZodTypeDef, + CreateEventRequest +> = z.object({ + integrationConfigurationId: z.string(), + requestBody: z.lazy(() => CreateEventRequestBody$outboundSchema).optional(), +}).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace CreateEventRequest$ { + /** @deprecated use `CreateEventRequest$inboundSchema` instead. */ + export const inboundSchema = CreateEventRequest$inboundSchema; + /** @deprecated use `CreateEventRequest$outboundSchema` instead. */ + export const outboundSchema = CreateEventRequest$outboundSchema; + /** @deprecated use `CreateEventRequest$Outbound` instead. */ + export type Outbound = CreateEventRequest$Outbound; +} + +export function createEventRequestToJSON( + createEventRequest: CreateEventRequest, +): string { + return JSON.stringify( + CreateEventRequest$outboundSchema.parse(createEventRequest), + ); +} + +export function createEventRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateEventRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateEventRequest' from JSON`, + ); +} diff --git a/src/models/operations/createproject.ts b/src/models/operations/createproject.ts index e696b2ac..fae1da64 100644 --- a/src/models/operations/createproject.ts +++ b/src/models/operations/createproject.ts @@ -1242,6 +1242,7 @@ export type CreateProjectPermissions = { notificationCustomerBudget?: Array | undefined; notificationStatementOfReasons?: Array | undefined; oauth2Connection?: Array | undefined; + observabilityConfiguration?: Array | undefined; openTelemetryEndpoint?: Array | undefined; paymentMethod?: Array | undefined; permissions?: Array | undefined; @@ -1316,6 +1317,7 @@ export type CreateProjectPermissions = { passwordProtection?: Array | undefined; optionsAllowlist?: Array | undefined; job?: Array | undefined; + observabilityData?: Array | undefined; project?: Array | undefined; projectFromV0?: Array | undefined; projectAccessGroup?: Array | undefined; @@ -7027,6 +7029,7 @@ export const CreateProjectPermissions$inboundSchema: z.ZodType< notificationCustomerBudget: z.array(ACLAction$inboundSchema).optional(), notificationStatementOfReasons: z.array(ACLAction$inboundSchema).optional(), oauth2Connection: z.array(ACLAction$inboundSchema).optional(), + observabilityConfiguration: z.array(ACLAction$inboundSchema).optional(), openTelemetryEndpoint: z.array(ACLAction$inboundSchema).optional(), paymentMethod: z.array(ACLAction$inboundSchema).optional(), permissions: z.array(ACLAction$inboundSchema).optional(), @@ -7102,6 +7105,7 @@ export const CreateProjectPermissions$inboundSchema: z.ZodType< passwordProtection: z.array(ACLAction$inboundSchema).optional(), optionsAllowlist: z.array(ACLAction$inboundSchema).optional(), job: z.array(ACLAction$inboundSchema).optional(), + observabilityData: z.array(ACLAction$inboundSchema).optional(), project: z.array(ACLAction$inboundSchema).optional(), projectFromV0: z.array(ACLAction$inboundSchema).optional(), projectAccessGroup: z.array(ACLAction$inboundSchema).optional(), @@ -7219,6 +7223,7 @@ export type CreateProjectPermissions$Outbound = { notificationCustomerBudget?: Array | undefined; notificationStatementOfReasons?: Array | undefined; oauth2Connection?: Array | undefined; + observabilityConfiguration?: Array | undefined; openTelemetryEndpoint?: Array | undefined; paymentMethod?: Array | undefined; permissions?: Array | undefined; @@ -7293,6 +7298,7 @@ export type CreateProjectPermissions$Outbound = { passwordProtection?: Array | undefined; optionsAllowlist?: Array | undefined; job?: Array | undefined; + observabilityData?: Array | undefined; project?: Array | undefined; projectFromV0?: Array | undefined; projectAccessGroup?: Array | undefined; @@ -7411,6 +7417,7 @@ export const CreateProjectPermissions$outboundSchema: z.ZodType< notificationCustomerBudget: z.array(ACLAction$outboundSchema).optional(), notificationStatementOfReasons: z.array(ACLAction$outboundSchema).optional(), oauth2Connection: z.array(ACLAction$outboundSchema).optional(), + observabilityConfiguration: z.array(ACLAction$outboundSchema).optional(), openTelemetryEndpoint: z.array(ACLAction$outboundSchema).optional(), paymentMethod: z.array(ACLAction$outboundSchema).optional(), permissions: z.array(ACLAction$outboundSchema).optional(), @@ -7486,6 +7493,7 @@ export const CreateProjectPermissions$outboundSchema: z.ZodType< passwordProtection: z.array(ACLAction$outboundSchema).optional(), optionsAllowlist: z.array(ACLAction$outboundSchema).optional(), job: z.array(ACLAction$outboundSchema).optional(), + observabilityData: z.array(ACLAction$outboundSchema).optional(), project: z.array(ACLAction$outboundSchema).optional(), projectFromV0: z.array(ACLAction$outboundSchema).optional(), projectAccessGroup: z.array(ACLAction$outboundSchema).optional(), diff --git a/src/models/operations/createteam.ts b/src/models/operations/createteam.ts index 6ad297f9..b433fa6f 100644 --- a/src/models/operations/createteam.ts +++ b/src/models/operations/createteam.ts @@ -63,7 +63,7 @@ export type CreateTeamRequestBody = { /** * IMPORTANT: If extending Billing, particularly with optional fields, make sure you also update `sync-orb-subscription-to-owner.ts` to handle the items when the object is recreated. */ -export type Billing = {}; +export type CreateTeamBilling = {}; /** * The team was created successfully @@ -77,7 +77,7 @@ export type CreateTeamResponseBody = { /** * IMPORTANT: If extending Billing, particularly with optional fields, make sure you also update `sync-orb-subscription-to-owner.ts` to handle the items when the object is recreated. */ - billing: Billing; + billing: CreateTeamBilling; }; /** @internal */ @@ -253,43 +253,50 @@ export function createTeamRequestBodyFromJSON( } /** @internal */ -export const Billing$inboundSchema: z.ZodType = - z.object({}); +export const CreateTeamBilling$inboundSchema: z.ZodType< + CreateTeamBilling, + z.ZodTypeDef, + unknown +> = z.object({}); /** @internal */ -export type Billing$Outbound = {}; +export type CreateTeamBilling$Outbound = {}; /** @internal */ -export const Billing$outboundSchema: z.ZodType< - Billing$Outbound, +export const CreateTeamBilling$outboundSchema: z.ZodType< + CreateTeamBilling$Outbound, z.ZodTypeDef, - Billing + CreateTeamBilling > = z.object({}); /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ -export namespace 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 namespace CreateTeamBilling$ { + /** @deprecated use `CreateTeamBilling$inboundSchema` instead. */ + export const inboundSchema = CreateTeamBilling$inboundSchema; + /** @deprecated use `CreateTeamBilling$outboundSchema` instead. */ + export const outboundSchema = CreateTeamBilling$outboundSchema; + /** @deprecated use `CreateTeamBilling$Outbound` instead. */ + export type Outbound = CreateTeamBilling$Outbound; } -export function billingToJSON(billing: Billing): string { - return JSON.stringify(Billing$outboundSchema.parse(billing)); +export function createTeamBillingToJSON( + createTeamBilling: CreateTeamBilling, +): string { + return JSON.stringify( + CreateTeamBilling$outboundSchema.parse(createTeamBilling), + ); } -export function billingFromJSON( +export function createTeamBillingFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => Billing$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Billing' from JSON`, + (x) => CreateTeamBilling$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateTeamBilling' from JSON`, ); } @@ -301,14 +308,14 @@ export const CreateTeamResponseBody$inboundSchema: z.ZodType< > = z.object({ id: z.string(), slug: z.string(), - billing: z.lazy(() => Billing$inboundSchema), + billing: z.lazy(() => CreateTeamBilling$inboundSchema), }); /** @internal */ export type CreateTeamResponseBody$Outbound = { id: string; slug: string; - billing: Billing$Outbound; + billing: CreateTeamBilling$Outbound; }; /** @internal */ @@ -319,7 +326,7 @@ export const CreateTeamResponseBody$outboundSchema: z.ZodType< > = z.object({ id: z.string(), slug: z.string(), - billing: z.lazy(() => Billing$outboundSchema), + billing: z.lazy(() => CreateTeamBilling$outboundSchema), }); /** diff --git a/src/models/operations/deletedeployment.ts b/src/models/operations/deletedeployment.ts index 1ef6077f..9eeeca67 100644 --- a/src/models/operations/deletedeployment.ts +++ b/src/models/operations/deletedeployment.ts @@ -30,13 +30,13 @@ export type DeleteDeploymentRequest = { /** * A constant with the final state of the deployment. */ -export const State = { +export const DeleteDeploymentState = { Deleted: "DELETED", } as const; /** * A constant with the final state of the deployment. */ -export type State = ClosedEnum; +export type DeleteDeploymentState = ClosedEnum; /** * The deployment was successfully deleted @@ -49,7 +49,7 @@ export type DeleteDeploymentResponseBody = { /** * A constant with the final state of the deployment. */ - state: State; + state: DeleteDeploymentState; }; /** @internal */ @@ -116,23 +116,24 @@ export function deleteDeploymentRequestFromJSON( } /** @internal */ -export const State$inboundSchema: z.ZodNativeEnum = z.nativeEnum( - State, -); +export const DeleteDeploymentState$inboundSchema: z.ZodNativeEnum< + typeof DeleteDeploymentState +> = z.nativeEnum(DeleteDeploymentState); /** @internal */ -export const State$outboundSchema: z.ZodNativeEnum = - State$inboundSchema; +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 State$ { - /** @deprecated use `State$inboundSchema` instead. */ - export const inboundSchema = State$inboundSchema; - /** @deprecated use `State$outboundSchema` instead. */ - export const outboundSchema = State$outboundSchema; +export namespace DeleteDeploymentState$ { + /** @deprecated use `DeleteDeploymentState$inboundSchema` instead. */ + export const inboundSchema = DeleteDeploymentState$inboundSchema; + /** @deprecated use `DeleteDeploymentState$outboundSchema` instead. */ + export const outboundSchema = DeleteDeploymentState$outboundSchema; } /** @internal */ @@ -142,7 +143,7 @@ export const DeleteDeploymentResponseBody$inboundSchema: z.ZodType< unknown > = z.object({ uid: z.string(), - state: State$inboundSchema, + state: DeleteDeploymentState$inboundSchema, }); /** @internal */ @@ -158,7 +159,7 @@ export const DeleteDeploymentResponseBody$outboundSchema: z.ZodType< DeleteDeploymentResponseBody > = z.object({ uid: z.string(), - state: State$outboundSchema, + state: DeleteDeploymentState$outboundSchema, }); /** diff --git a/src/models/operations/exchangessotoken.ts b/src/models/operations/exchangessotoken.ts new file mode 100644 index 00000000..a1af818e --- /dev/null +++ b/src/models/operations/exchangessotoken.ts @@ -0,0 +1,192 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { remap as remap$ } from "../../lib/primitives.js"; +import { safeParse } from "../../lib/schemas.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; + +export type ExchangeSsoTokenRequestBody = { + /** + * The sensitive code received from Vercel + */ + code: string; + /** + * The state received from the initialization request + */ + state?: string | undefined; + /** + * The integration client id + */ + clientId: string; + /** + * The integration client secret + */ + clientSecret: string; + /** + * The integration redirect URI + */ + redirectUri?: string | undefined; +}; + +export type ExchangeSsoTokenResponseBody = { + idToken: string; + accessToken?: any | null | undefined; + tokenType?: any | null | undefined; +}; + +/** @internal */ +export const ExchangeSsoTokenRequestBody$inboundSchema: z.ZodType< + ExchangeSsoTokenRequestBody, + z.ZodTypeDef, + unknown +> = z.object({ + code: z.string(), + state: z.string().optional(), + client_id: z.string(), + client_secret: z.string(), + redirect_uri: z.string().optional(), +}).transform((v) => { + return remap$(v, { + "client_id": "clientId", + "client_secret": "clientSecret", + "redirect_uri": "redirectUri", + }); +}); + +/** @internal */ +export type ExchangeSsoTokenRequestBody$Outbound = { + code: string; + state?: string | undefined; + client_id: string; + client_secret: string; + redirect_uri?: string | undefined; +}; + +/** @internal */ +export const ExchangeSsoTokenRequestBody$outboundSchema: z.ZodType< + ExchangeSsoTokenRequestBody$Outbound, + z.ZodTypeDef, + ExchangeSsoTokenRequestBody +> = z.object({ + code: z.string(), + state: z.string().optional(), + clientId: z.string(), + clientSecret: z.string(), + redirectUri: z.string().optional(), +}).transform((v) => { + return remap$(v, { + clientId: "client_id", + clientSecret: "client_secret", + redirectUri: "redirect_uri", + }); +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ExchangeSsoTokenRequestBody$ { + /** @deprecated use `ExchangeSsoTokenRequestBody$inboundSchema` instead. */ + export const inboundSchema = ExchangeSsoTokenRequestBody$inboundSchema; + /** @deprecated use `ExchangeSsoTokenRequestBody$outboundSchema` instead. */ + export const outboundSchema = ExchangeSsoTokenRequestBody$outboundSchema; + /** @deprecated use `ExchangeSsoTokenRequestBody$Outbound` instead. */ + export type Outbound = ExchangeSsoTokenRequestBody$Outbound; +} + +export function exchangeSsoTokenRequestBodyToJSON( + exchangeSsoTokenRequestBody: ExchangeSsoTokenRequestBody, +): string { + return JSON.stringify( + ExchangeSsoTokenRequestBody$outboundSchema.parse( + exchangeSsoTokenRequestBody, + ), + ); +} + +export function exchangeSsoTokenRequestBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ExchangeSsoTokenRequestBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ExchangeSsoTokenRequestBody' from JSON`, + ); +} + +/** @internal */ +export const ExchangeSsoTokenResponseBody$inboundSchema: z.ZodType< + ExchangeSsoTokenResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + id_token: z.string(), + access_token: z.nullable(z.any()).optional(), + token_type: z.nullable(z.any()).optional(), +}).transform((v) => { + return remap$(v, { + "id_token": "idToken", + "access_token": "accessToken", + "token_type": "tokenType", + }); +}); + +/** @internal */ +export type ExchangeSsoTokenResponseBody$Outbound = { + id_token: string; + access_token?: any | null | undefined; + token_type?: any | null | undefined; +}; + +/** @internal */ +export const ExchangeSsoTokenResponseBody$outboundSchema: z.ZodType< + ExchangeSsoTokenResponseBody$Outbound, + z.ZodTypeDef, + ExchangeSsoTokenResponseBody +> = z.object({ + idToken: z.string(), + accessToken: z.nullable(z.any()).optional(), + tokenType: z.nullable(z.any()).optional(), +}).transform((v) => { + return remap$(v, { + idToken: "id_token", + accessToken: "access_token", + tokenType: "token_type", + }); +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace ExchangeSsoTokenResponseBody$ { + /** @deprecated use `ExchangeSsoTokenResponseBody$inboundSchema` instead. */ + export const inboundSchema = ExchangeSsoTokenResponseBody$inboundSchema; + /** @deprecated use `ExchangeSsoTokenResponseBody$outboundSchema` instead. */ + export const outboundSchema = ExchangeSsoTokenResponseBody$outboundSchema; + /** @deprecated use `ExchangeSsoTokenResponseBody$Outbound` instead. */ + export type Outbound = ExchangeSsoTokenResponseBody$Outbound; +} + +export function exchangeSsoTokenResponseBodyToJSON( + exchangeSsoTokenResponseBody: ExchangeSsoTokenResponseBody, +): string { + return JSON.stringify( + ExchangeSsoTokenResponseBody$outboundSchema.parse( + exchangeSsoTokenResponseBody, + ), + ); +} + +export function exchangeSsoTokenResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ExchangeSsoTokenResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ExchangeSsoTokenResponseBody' from JSON`, + ); +} diff --git a/src/models/operations/getaccountinfo.ts b/src/models/operations/getaccountinfo.ts new file mode 100644 index 00000000..0b783713 --- /dev/null +++ b/src/models/operations/getaccountinfo.ts @@ -0,0 +1,187 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { safeParse } from "../../lib/schemas.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; + +export type GetAccountInfoRequest = { + integrationConfigurationId: string; +}; + +export type Contact = { + email: string; + name?: string | undefined; +}; + +export type GetAccountInfoResponseBody = { + name?: string | undefined; + url: string; + contact: Contact | null; +}; + +/** @internal */ +export const GetAccountInfoRequest$inboundSchema: z.ZodType< + GetAccountInfoRequest, + z.ZodTypeDef, + unknown +> = z.object({ + integrationConfigurationId: z.string(), +}); + +/** @internal */ +export type GetAccountInfoRequest$Outbound = { + integrationConfigurationId: string; +}; + +/** @internal */ +export const GetAccountInfoRequest$outboundSchema: z.ZodType< + GetAccountInfoRequest$Outbound, + z.ZodTypeDef, + GetAccountInfoRequest +> = z.object({ + integrationConfigurationId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetAccountInfoRequest$ { + /** @deprecated use `GetAccountInfoRequest$inboundSchema` instead. */ + export const inboundSchema = GetAccountInfoRequest$inboundSchema; + /** @deprecated use `GetAccountInfoRequest$outboundSchema` instead. */ + export const outboundSchema = GetAccountInfoRequest$outboundSchema; + /** @deprecated use `GetAccountInfoRequest$Outbound` instead. */ + export type Outbound = GetAccountInfoRequest$Outbound; +} + +export function getAccountInfoRequestToJSON( + getAccountInfoRequest: GetAccountInfoRequest, +): string { + return JSON.stringify( + GetAccountInfoRequest$outboundSchema.parse(getAccountInfoRequest), + ); +} + +export function getAccountInfoRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetAccountInfoRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetAccountInfoRequest' from JSON`, + ); +} + +/** @internal */ +export const Contact$inboundSchema: z.ZodType = + z.object({ + email: z.string(), + name: z.string().optional(), + }); + +/** @internal */ +export type Contact$Outbound = { + email: string; + name?: string | undefined; +}; + +/** @internal */ +export const Contact$outboundSchema: z.ZodType< + Contact$Outbound, + z.ZodTypeDef, + Contact +> = z.object({ + email: z.string(), + name: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Contact$ { + /** @deprecated use `Contact$inboundSchema` instead. */ + export const inboundSchema = Contact$inboundSchema; + /** @deprecated use `Contact$outboundSchema` instead. */ + export const outboundSchema = Contact$outboundSchema; + /** @deprecated use `Contact$Outbound` instead. */ + export type Outbound = Contact$Outbound; +} + +export function contactToJSON(contact: Contact): string { + return JSON.stringify(Contact$outboundSchema.parse(contact)); +} + +export function contactFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Contact$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Contact' from JSON`, + ); +} + +/** @internal */ +export const GetAccountInfoResponseBody$inboundSchema: z.ZodType< + GetAccountInfoResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + name: z.string().optional(), + url: z.string(), + contact: z.nullable(z.lazy(() => Contact$inboundSchema)), +}); + +/** @internal */ +export type GetAccountInfoResponseBody$Outbound = { + name?: string | undefined; + url: string; + contact: Contact$Outbound | null; +}; + +/** @internal */ +export const GetAccountInfoResponseBody$outboundSchema: z.ZodType< + GetAccountInfoResponseBody$Outbound, + z.ZodTypeDef, + GetAccountInfoResponseBody +> = z.object({ + name: z.string().optional(), + url: z.string(), + contact: z.nullable(z.lazy(() => Contact$outboundSchema)), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetAccountInfoResponseBody$ { + /** @deprecated use `GetAccountInfoResponseBody$inboundSchema` instead. */ + export const inboundSchema = GetAccountInfoResponseBody$inboundSchema; + /** @deprecated use `GetAccountInfoResponseBody$outboundSchema` instead. */ + export const outboundSchema = GetAccountInfoResponseBody$outboundSchema; + /** @deprecated use `GetAccountInfoResponseBody$Outbound` instead. */ + export type Outbound = GetAccountInfoResponseBody$Outbound; +} + +export function getAccountInfoResponseBodyToJSON( + getAccountInfoResponseBody: GetAccountInfoResponseBody, +): string { + return JSON.stringify( + GetAccountInfoResponseBody$outboundSchema.parse(getAccountInfoResponseBody), + ); +} + +export function getAccountInfoResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetAccountInfoResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetAccountInfoResponseBody' from JSON`, + ); +} diff --git a/src/models/operations/getinvoice.ts b/src/models/operations/getinvoice.ts new file mode 100644 index 00000000..6f9b6d89 --- /dev/null +++ b/src/models/operations/getinvoice.ts @@ -0,0 +1,454 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { safeParse } from "../../lib/schemas.js"; +import { ClosedEnum } from "../../types/enums.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; + +export type GetInvoiceRequest = { + integrationConfigurationId: string; + invoiceId: string; +}; + +export type GetInvoicePeriod = { + start: string; + end: string; +}; + +export type GetInvoiceItems = { + billingPlanId: string; + resourceId?: string | undefined; + start?: string | undefined; + end?: string | undefined; + name: string; + details?: string | undefined; + price: string; + quantity: number; + units: string; + total: string; +}; + +export type GetInvoiceDiscounts = { + billingPlanId: string; + resourceId?: string | undefined; + start?: string | undefined; + end?: string | undefined; + name: string; + details?: string | undefined; + amount: string; +}; + +export const State = { + Pending: "pending", + Scheduled: "scheduled", + Invoiced: "invoiced", + Paid: "paid", + Notpaid: "notpaid", + RefundRequested: "refund_requested", + Refunded: "refunded", +} as const; +export type State = ClosedEnum; + +export type GetInvoiceResponseBody = { + invoiceId: string; + externalId?: string | undefined; + invoiceNumber?: string | undefined; + invoiceDate: string; + period: GetInvoicePeriod; + memo?: string | undefined; + items: Array; + discounts?: Array | undefined; + total: string; + created: string; + updated: string; + state: State; + refundReason?: string | undefined; + refundTotal?: string | undefined; + test: boolean; +}; + +/** @internal */ +export const GetInvoiceRequest$inboundSchema: z.ZodType< + GetInvoiceRequest, + z.ZodTypeDef, + unknown +> = z.object({ + integrationConfigurationId: z.string(), + invoiceId: z.string(), +}); + +/** @internal */ +export type GetInvoiceRequest$Outbound = { + integrationConfigurationId: string; + invoiceId: string; +}; + +/** @internal */ +export const GetInvoiceRequest$outboundSchema: z.ZodType< + GetInvoiceRequest$Outbound, + z.ZodTypeDef, + GetInvoiceRequest +> = z.object({ + integrationConfigurationId: z.string(), + invoiceId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetInvoiceRequest$ { + /** @deprecated use `GetInvoiceRequest$inboundSchema` instead. */ + export const inboundSchema = GetInvoiceRequest$inboundSchema; + /** @deprecated use `GetInvoiceRequest$outboundSchema` instead. */ + export const outboundSchema = GetInvoiceRequest$outboundSchema; + /** @deprecated use `GetInvoiceRequest$Outbound` instead. */ + export type Outbound = GetInvoiceRequest$Outbound; +} + +export function getInvoiceRequestToJSON( + getInvoiceRequest: GetInvoiceRequest, +): string { + return JSON.stringify( + GetInvoiceRequest$outboundSchema.parse(getInvoiceRequest), + ); +} + +export function getInvoiceRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetInvoiceRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetInvoiceRequest' from JSON`, + ); +} + +/** @internal */ +export const GetInvoicePeriod$inboundSchema: z.ZodType< + GetInvoicePeriod, + z.ZodTypeDef, + unknown +> = z.object({ + start: z.string(), + end: z.string(), +}); + +/** @internal */ +export type GetInvoicePeriod$Outbound = { + start: string; + end: string; +}; + +/** @internal */ +export const GetInvoicePeriod$outboundSchema: z.ZodType< + GetInvoicePeriod$Outbound, + z.ZodTypeDef, + GetInvoicePeriod +> = z.object({ + start: z.string(), + end: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetInvoicePeriod$ { + /** @deprecated use `GetInvoicePeriod$inboundSchema` instead. */ + export const inboundSchema = GetInvoicePeriod$inboundSchema; + /** @deprecated use `GetInvoicePeriod$outboundSchema` instead. */ + export const outboundSchema = GetInvoicePeriod$outboundSchema; + /** @deprecated use `GetInvoicePeriod$Outbound` instead. */ + export type Outbound = GetInvoicePeriod$Outbound; +} + +export function getInvoicePeriodToJSON( + getInvoicePeriod: GetInvoicePeriod, +): string { + return JSON.stringify( + GetInvoicePeriod$outboundSchema.parse(getInvoicePeriod), + ); +} + +export function getInvoicePeriodFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetInvoicePeriod$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetInvoicePeriod' from JSON`, + ); +} + +/** @internal */ +export const GetInvoiceItems$inboundSchema: z.ZodType< + GetInvoiceItems, + z.ZodTypeDef, + unknown +> = z.object({ + billingPlanId: z.string(), + resourceId: z.string().optional(), + start: z.string().optional(), + end: z.string().optional(), + name: z.string(), + details: z.string().optional(), + price: z.string(), + quantity: z.number(), + units: z.string(), + total: z.string(), +}); + +/** @internal */ +export type GetInvoiceItems$Outbound = { + billingPlanId: string; + resourceId?: string | undefined; + start?: string | undefined; + end?: string | undefined; + name: string; + details?: string | undefined; + price: string; + quantity: number; + units: string; + total: string; +}; + +/** @internal */ +export const GetInvoiceItems$outboundSchema: z.ZodType< + GetInvoiceItems$Outbound, + z.ZodTypeDef, + GetInvoiceItems +> = z.object({ + billingPlanId: z.string(), + resourceId: z.string().optional(), + start: z.string().optional(), + end: z.string().optional(), + name: z.string(), + details: z.string().optional(), + price: z.string(), + quantity: z.number(), + units: z.string(), + total: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetInvoiceItems$ { + /** @deprecated use `GetInvoiceItems$inboundSchema` instead. */ + export const inboundSchema = GetInvoiceItems$inboundSchema; + /** @deprecated use `GetInvoiceItems$outboundSchema` instead. */ + export const outboundSchema = GetInvoiceItems$outboundSchema; + /** @deprecated use `GetInvoiceItems$Outbound` instead. */ + export type Outbound = GetInvoiceItems$Outbound; +} + +export function getInvoiceItemsToJSON( + getInvoiceItems: GetInvoiceItems, +): string { + return JSON.stringify(GetInvoiceItems$outboundSchema.parse(getInvoiceItems)); +} + +export function getInvoiceItemsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetInvoiceItems$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetInvoiceItems' from JSON`, + ); +} + +/** @internal */ +export const GetInvoiceDiscounts$inboundSchema: z.ZodType< + GetInvoiceDiscounts, + z.ZodTypeDef, + unknown +> = z.object({ + billingPlanId: z.string(), + resourceId: z.string().optional(), + start: z.string().optional(), + end: z.string().optional(), + name: z.string(), + details: z.string().optional(), + amount: z.string(), +}); + +/** @internal */ +export type GetInvoiceDiscounts$Outbound = { + billingPlanId: string; + resourceId?: string | undefined; + start?: string | undefined; + end?: string | undefined; + name: string; + details?: string | undefined; + amount: string; +}; + +/** @internal */ +export const GetInvoiceDiscounts$outboundSchema: z.ZodType< + GetInvoiceDiscounts$Outbound, + z.ZodTypeDef, + GetInvoiceDiscounts +> = z.object({ + billingPlanId: z.string(), + resourceId: z.string().optional(), + start: z.string().optional(), + end: z.string().optional(), + name: z.string(), + details: z.string().optional(), + amount: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetInvoiceDiscounts$ { + /** @deprecated use `GetInvoiceDiscounts$inboundSchema` instead. */ + export const inboundSchema = GetInvoiceDiscounts$inboundSchema; + /** @deprecated use `GetInvoiceDiscounts$outboundSchema` instead. */ + export const outboundSchema = GetInvoiceDiscounts$outboundSchema; + /** @deprecated use `GetInvoiceDiscounts$Outbound` instead. */ + export type Outbound = GetInvoiceDiscounts$Outbound; +} + +export function getInvoiceDiscountsToJSON( + getInvoiceDiscounts: GetInvoiceDiscounts, +): string { + return JSON.stringify( + GetInvoiceDiscounts$outboundSchema.parse(getInvoiceDiscounts), + ); +} + +export function getInvoiceDiscountsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetInvoiceDiscounts$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetInvoiceDiscounts' from JSON`, + ); +} + +/** @internal */ +export const State$inboundSchema: z.ZodNativeEnum = z.nativeEnum( + State, +); + +/** @internal */ +export const State$outboundSchema: z.ZodNativeEnum = + State$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace State$ { + /** @deprecated use `State$inboundSchema` instead. */ + export const inboundSchema = State$inboundSchema; + /** @deprecated use `State$outboundSchema` instead. */ + export const outboundSchema = State$outboundSchema; +} + +/** @internal */ +export const GetInvoiceResponseBody$inboundSchema: z.ZodType< + GetInvoiceResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + invoiceId: z.string(), + externalId: z.string().optional(), + invoiceNumber: z.string().optional(), + invoiceDate: z.string(), + period: z.lazy(() => GetInvoicePeriod$inboundSchema), + memo: z.string().optional(), + items: z.array(z.lazy(() => GetInvoiceItems$inboundSchema)), + discounts: z.array(z.lazy(() => GetInvoiceDiscounts$inboundSchema)) + .optional(), + total: z.string(), + created: z.string(), + updated: z.string(), + state: State$inboundSchema, + refundReason: z.string().optional(), + refundTotal: z.string().optional(), + test: z.boolean(), +}); + +/** @internal */ +export type GetInvoiceResponseBody$Outbound = { + invoiceId: string; + externalId?: string | undefined; + invoiceNumber?: string | undefined; + invoiceDate: string; + period: GetInvoicePeriod$Outbound; + memo?: string | undefined; + items: Array; + discounts?: Array | undefined; + total: string; + created: string; + updated: string; + state: string; + refundReason?: string | undefined; + refundTotal?: string | undefined; + test: boolean; +}; + +/** @internal */ +export const GetInvoiceResponseBody$outboundSchema: z.ZodType< + GetInvoiceResponseBody$Outbound, + z.ZodTypeDef, + GetInvoiceResponseBody +> = z.object({ + invoiceId: z.string(), + externalId: z.string().optional(), + invoiceNumber: z.string().optional(), + invoiceDate: z.string(), + period: z.lazy(() => GetInvoicePeriod$outboundSchema), + memo: z.string().optional(), + items: z.array(z.lazy(() => GetInvoiceItems$outboundSchema)), + discounts: z.array(z.lazy(() => GetInvoiceDiscounts$outboundSchema)) + .optional(), + total: z.string(), + created: z.string(), + updated: z.string(), + state: State$outboundSchema, + refundReason: z.string().optional(), + refundTotal: z.string().optional(), + test: z.boolean(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetInvoiceResponseBody$ { + /** @deprecated use `GetInvoiceResponseBody$inboundSchema` instead. */ + export const inboundSchema = GetInvoiceResponseBody$inboundSchema; + /** @deprecated use `GetInvoiceResponseBody$outboundSchema` instead. */ + export const outboundSchema = GetInvoiceResponseBody$outboundSchema; + /** @deprecated use `GetInvoiceResponseBody$Outbound` instead. */ + export type Outbound = GetInvoiceResponseBody$Outbound; +} + +export function getInvoiceResponseBodyToJSON( + getInvoiceResponseBody: GetInvoiceResponseBody, +): string { + return JSON.stringify( + GetInvoiceResponseBody$outboundSchema.parse(getInvoiceResponseBody), + ); +} + +export function getInvoiceResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetInvoiceResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetInvoiceResponseBody' from JSON`, + ); +} diff --git a/src/models/operations/getmember.ts b/src/models/operations/getmember.ts new file mode 100644 index 00000000..3c1ee37a --- /dev/null +++ b/src/models/operations/getmember.ts @@ -0,0 +1,160 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { safeParse } from "../../lib/schemas.js"; +import { ClosedEnum } from "../../types/enums.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; + +export type GetMemberRequest = { + integrationConfigurationId: string; + memberId: string; +}; + +export const GetMemberRole = { + Admin: "ADMIN", + User: "USER", +} as const; +export type GetMemberRole = ClosedEnum; + +export type GetMemberResponseBody = { + id: string; + role: GetMemberRole; +}; + +/** @internal */ +export const GetMemberRequest$inboundSchema: z.ZodType< + GetMemberRequest, + z.ZodTypeDef, + unknown +> = z.object({ + integrationConfigurationId: z.string(), + memberId: z.string(), +}); + +/** @internal */ +export type GetMemberRequest$Outbound = { + integrationConfigurationId: string; + memberId: string; +}; + +/** @internal */ +export const GetMemberRequest$outboundSchema: z.ZodType< + GetMemberRequest$Outbound, + z.ZodTypeDef, + GetMemberRequest +> = z.object({ + integrationConfigurationId: z.string(), + memberId: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetMemberRequest$ { + /** @deprecated use `GetMemberRequest$inboundSchema` instead. */ + export const inboundSchema = GetMemberRequest$inboundSchema; + /** @deprecated use `GetMemberRequest$outboundSchema` instead. */ + export const outboundSchema = GetMemberRequest$outboundSchema; + /** @deprecated use `GetMemberRequest$Outbound` instead. */ + export type Outbound = GetMemberRequest$Outbound; +} + +export function getMemberRequestToJSON( + getMemberRequest: GetMemberRequest, +): string { + return JSON.stringify( + GetMemberRequest$outboundSchema.parse(getMemberRequest), + ); +} + +export function getMemberRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetMemberRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetMemberRequest' from JSON`, + ); +} + +/** @internal */ +export const GetMemberRole$inboundSchema: z.ZodNativeEnum< + typeof GetMemberRole +> = z.nativeEnum(GetMemberRole); + +/** @internal */ +export const GetMemberRole$outboundSchema: z.ZodNativeEnum< + typeof GetMemberRole +> = GetMemberRole$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetMemberRole$ { + /** @deprecated use `GetMemberRole$inboundSchema` instead. */ + export const inboundSchema = GetMemberRole$inboundSchema; + /** @deprecated use `GetMemberRole$outboundSchema` instead. */ + export const outboundSchema = GetMemberRole$outboundSchema; +} + +/** @internal */ +export const GetMemberResponseBody$inboundSchema: z.ZodType< + GetMemberResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + role: GetMemberRole$inboundSchema, +}); + +/** @internal */ +export type GetMemberResponseBody$Outbound = { + id: string; + role: string; +}; + +/** @internal */ +export const GetMemberResponseBody$outboundSchema: z.ZodType< + GetMemberResponseBody$Outbound, + z.ZodTypeDef, + GetMemberResponseBody +> = z.object({ + id: z.string(), + role: GetMemberRole$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetMemberResponseBody$ { + /** @deprecated use `GetMemberResponseBody$inboundSchema` instead. */ + export const inboundSchema = GetMemberResponseBody$inboundSchema; + /** @deprecated use `GetMemberResponseBody$outboundSchema` instead. */ + export const outboundSchema = GetMemberResponseBody$outboundSchema; + /** @deprecated use `GetMemberResponseBody$Outbound` instead. */ + export type Outbound = GetMemberResponseBody$Outbound; +} + +export function getMemberResponseBodyToJSON( + getMemberResponseBody: GetMemberResponseBody, +): string { + return JSON.stringify( + GetMemberResponseBody$outboundSchema.parse(getMemberResponseBody), + ); +} + +export function getMemberResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetMemberResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetMemberResponseBody' from JSON`, + ); +} diff --git a/src/models/operations/getprojectdomains.ts b/src/models/operations/getprojectdomains.ts new file mode 100644 index 00000000..8c60f95d --- /dev/null +++ b/src/models/operations/getprojectdomains.ts @@ -0,0 +1,571 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { safeParse } from "../../lib/schemas.js"; +import { ClosedEnum } from "../../types/enums.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { + Pagination, + Pagination$inboundSchema, + Pagination$Outbound, + Pagination$outboundSchema, +} from "../components/pagination.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; + +/** + * Filters only production domains when set to `true`. + */ +export const Production = { + True: "true", + False: "false", +} as const; +/** + * Filters only production domains when set to `true`. + */ +export type Production = ClosedEnum; + +/** + * Filters on the target of the domain. Can be either \"production\", \"preview\" + */ +export const QueryParamTarget = { + Production: "production", + Preview: "preview", +} as const; +/** + * Filters on the target of the domain. Can be either \"production\", \"preview\" + */ +export type QueryParamTarget = ClosedEnum; + +/** + * Excludes redirect project domains when \"false\". Includes redirect project domains when \"true\" (default). + */ +export const Redirects = { + True: "true", + False: "false", +} as const; +/** + * Excludes redirect project domains when \"false\". Includes redirect project domains when \"true\" (default). + */ +export type Redirects = ClosedEnum; + +/** + * Filters domains based on their verification status. + */ +export const Verified = { + True: "true", + False: "false", +} as const; +/** + * Filters domains based on their verification status. + */ +export type Verified = ClosedEnum; + +/** + * Domains sort order by createdAt + */ +export const Order = { + Asc: "ASC", + Desc: "DESC", +} as const; +/** + * Domains sort order by createdAt + */ +export type Order = ClosedEnum; + +export type GetProjectDomainsRequest = { + /** + * The unique project identifier or the project name + */ + idOrName: string; + /** + * Filters only production domains when set to `true`. + */ + production?: Production | undefined; + /** + * Filters on the target of the domain. Can be either \"production\", \"preview\" + */ + target?: QueryParamTarget | undefined; + /** + * Filters domains based on specific branch. + */ + gitBranch?: string | undefined; + /** + * Excludes redirect project domains when \"false\". Includes redirect project domains when \"true\" (default). + */ + redirects?: Redirects | undefined; + /** + * Filters domains based on their redirect target. + */ + redirect?: string | undefined; + /** + * Filters domains based on their verification status. + */ + verified?: Verified | undefined; + /** + * Maximum number of domains to list from a request (max 100). + */ + limit?: number | undefined; + /** + * Get domains created after this JavaScript timestamp. + */ + since?: number | undefined; + /** + * Get domains created before this JavaScript timestamp. + */ + until?: number | undefined; + /** + * Domains sort order by createdAt + */ + order?: Order | undefined; + /** + * The Team identifier to perform the request on behalf of. + */ + teamId?: string | undefined; + /** + * The Team slug to perform the request on behalf of. + */ + slug?: string | undefined; +}; + +/** + * A list of verification challenges, one of which must be completed to verify the domain for use on the project. After the challenge is complete `POST /projects/:idOrName/domains/:domain/verify` to verify the domain. Possible challenges: - If `verification.type = TXT` the `verification.domain` will be checked for a TXT record matching `verification.value`. + */ +export type GetProjectDomainsVerification = { + type: string; + domain: string; + value: string; + reason: string; +}; + +export type GetProjectDomainsDomains = { + name: string; + apexName: string; + projectId: string; + redirect?: string | null | undefined; + redirectStatusCode?: number | null | undefined; + gitBranch?: string | null | undefined; + customEnvironmentId?: string | null | undefined; + updatedAt?: number | undefined; + createdAt?: number | undefined; + /** + * `true` if the domain is verified for use with the project. If `false` it will not be used as an alias on this project until the challenge in `verification` is completed. + */ + verified: boolean; + /** + * A list of verification challenges, one of which must be completed to verify the domain for use on the project. After the challenge is complete `POST /projects/:idOrName/domains/:domain/verify` to verify the domain. Possible challenges: - If `verification.type = TXT` the `verification.domain` will be checked for a TXT record matching `verification.value`. + */ + verification?: Array | undefined; +}; + +/** + * Successful response retrieving a list of domains + */ +export type GetProjectDomainsResponseBody = { + domains: Array; + /** + * This object contains information related to the pagination of the current request, including the necessary parameters to get the next or previous page of data. + */ + pagination: Pagination; +}; + +/** @internal */ +export const Production$inboundSchema: z.ZodNativeEnum = z + .nativeEnum(Production); + +/** @internal */ +export const Production$outboundSchema: z.ZodNativeEnum = + Production$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Production$ { + /** @deprecated use `Production$inboundSchema` instead. */ + export const inboundSchema = Production$inboundSchema; + /** @deprecated use `Production$outboundSchema` instead. */ + export const outboundSchema = Production$outboundSchema; +} + +/** @internal */ +export const QueryParamTarget$inboundSchema: z.ZodNativeEnum< + typeof QueryParamTarget +> = z.nativeEnum(QueryParamTarget); + +/** @internal */ +export const QueryParamTarget$outboundSchema: z.ZodNativeEnum< + typeof QueryParamTarget +> = QueryParamTarget$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace QueryParamTarget$ { + /** @deprecated use `QueryParamTarget$inboundSchema` instead. */ + export const inboundSchema = QueryParamTarget$inboundSchema; + /** @deprecated use `QueryParamTarget$outboundSchema` instead. */ + export const outboundSchema = QueryParamTarget$outboundSchema; +} + +/** @internal */ +export const Redirects$inboundSchema: z.ZodNativeEnum = z + .nativeEnum(Redirects); + +/** @internal */ +export const Redirects$outboundSchema: z.ZodNativeEnum = + Redirects$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Redirects$ { + /** @deprecated use `Redirects$inboundSchema` instead. */ + export const inboundSchema = Redirects$inboundSchema; + /** @deprecated use `Redirects$outboundSchema` instead. */ + export const outboundSchema = Redirects$outboundSchema; +} + +/** @internal */ +export const Verified$inboundSchema: z.ZodNativeEnum = z + .nativeEnum(Verified); + +/** @internal */ +export const Verified$outboundSchema: z.ZodNativeEnum = + Verified$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Verified$ { + /** @deprecated use `Verified$inboundSchema` instead. */ + export const inboundSchema = Verified$inboundSchema; + /** @deprecated use `Verified$outboundSchema` instead. */ + export const outboundSchema = Verified$outboundSchema; +} + +/** @internal */ +export const Order$inboundSchema: z.ZodNativeEnum = z.nativeEnum( + Order, +); + +/** @internal */ +export const Order$outboundSchema: z.ZodNativeEnum = + Order$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Order$ { + /** @deprecated use `Order$inboundSchema` instead. */ + export const inboundSchema = Order$inboundSchema; + /** @deprecated use `Order$outboundSchema` instead. */ + export const outboundSchema = Order$outboundSchema; +} + +/** @internal */ +export const GetProjectDomainsRequest$inboundSchema: z.ZodType< + GetProjectDomainsRequest, + z.ZodTypeDef, + unknown +> = z.object({ + idOrName: z.string(), + production: Production$inboundSchema.default("false"), + target: QueryParamTarget$inboundSchema.optional(), + gitBranch: z.string().optional(), + redirects: Redirects$inboundSchema.default("true"), + redirect: z.string().optional(), + verified: Verified$inboundSchema.optional(), + limit: z.number().optional(), + since: z.number().optional(), + until: z.number().optional(), + order: Order$inboundSchema.default("DESC"), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** @internal */ +export type GetProjectDomainsRequest$Outbound = { + idOrName: string; + production: string; + target?: string | undefined; + gitBranch?: string | undefined; + redirects: string; + redirect?: string | undefined; + verified?: string | undefined; + limit?: number | undefined; + since?: number | undefined; + until?: number | undefined; + order: string; + teamId?: string | undefined; + slug?: string | undefined; +}; + +/** @internal */ +export const GetProjectDomainsRequest$outboundSchema: z.ZodType< + GetProjectDomainsRequest$Outbound, + z.ZodTypeDef, + GetProjectDomainsRequest +> = z.object({ + idOrName: z.string(), + production: Production$outboundSchema.default("false"), + target: QueryParamTarget$outboundSchema.optional(), + gitBranch: z.string().optional(), + redirects: Redirects$outboundSchema.default("true"), + redirect: z.string().optional(), + verified: Verified$outboundSchema.optional(), + limit: z.number().optional(), + since: z.number().optional(), + until: z.number().optional(), + order: Order$outboundSchema.default("DESC"), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectDomainsRequest$ { + /** @deprecated use `GetProjectDomainsRequest$inboundSchema` instead. */ + export const inboundSchema = GetProjectDomainsRequest$inboundSchema; + /** @deprecated use `GetProjectDomainsRequest$outboundSchema` instead. */ + export const outboundSchema = GetProjectDomainsRequest$outboundSchema; + /** @deprecated use `GetProjectDomainsRequest$Outbound` instead. */ + export type Outbound = GetProjectDomainsRequest$Outbound; +} + +export function getProjectDomainsRequestToJSON( + getProjectDomainsRequest: GetProjectDomainsRequest, +): string { + return JSON.stringify( + GetProjectDomainsRequest$outboundSchema.parse(getProjectDomainsRequest), + ); +} + +export function getProjectDomainsRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectDomainsRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectDomainsRequest' from JSON`, + ); +} + +/** @internal */ +export const GetProjectDomainsVerification$inboundSchema: z.ZodType< + GetProjectDomainsVerification, + z.ZodTypeDef, + unknown +> = z.object({ + type: z.string(), + domain: z.string(), + value: z.string(), + reason: z.string(), +}); + +/** @internal */ +export type GetProjectDomainsVerification$Outbound = { + type: string; + domain: string; + value: string; + reason: string; +}; + +/** @internal */ +export const GetProjectDomainsVerification$outboundSchema: z.ZodType< + GetProjectDomainsVerification$Outbound, + z.ZodTypeDef, + GetProjectDomainsVerification +> = z.object({ + type: z.string(), + domain: z.string(), + value: z.string(), + reason: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectDomainsVerification$ { + /** @deprecated use `GetProjectDomainsVerification$inboundSchema` instead. */ + export const inboundSchema = GetProjectDomainsVerification$inboundSchema; + /** @deprecated use `GetProjectDomainsVerification$outboundSchema` instead. */ + export const outboundSchema = GetProjectDomainsVerification$outboundSchema; + /** @deprecated use `GetProjectDomainsVerification$Outbound` instead. */ + export type Outbound = GetProjectDomainsVerification$Outbound; +} + +export function getProjectDomainsVerificationToJSON( + getProjectDomainsVerification: GetProjectDomainsVerification, +): string { + return JSON.stringify( + GetProjectDomainsVerification$outboundSchema.parse( + getProjectDomainsVerification, + ), + ); +} + +export function getProjectDomainsVerificationFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectDomainsVerification$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectDomainsVerification' from JSON`, + ); +} + +/** @internal */ +export const GetProjectDomainsDomains$inboundSchema: z.ZodType< + GetProjectDomainsDomains, + z.ZodTypeDef, + unknown +> = z.object({ + name: z.string(), + apexName: z.string(), + projectId: z.string(), + redirect: z.nullable(z.string()).optional(), + redirectStatusCode: z.nullable(z.number()).optional(), + gitBranch: z.nullable(z.string()).optional(), + customEnvironmentId: z.nullable(z.string()).optional(), + updatedAt: z.number().optional(), + createdAt: z.number().optional(), + verified: z.boolean(), + verification: z.array( + z.lazy(() => GetProjectDomainsVerification$inboundSchema), + ).optional(), +}); + +/** @internal */ +export type GetProjectDomainsDomains$Outbound = { + name: string; + apexName: string; + projectId: string; + redirect?: string | null | undefined; + redirectStatusCode?: number | null | undefined; + gitBranch?: string | null | undefined; + customEnvironmentId?: string | null | undefined; + updatedAt?: number | undefined; + createdAt?: number | undefined; + verified: boolean; + verification?: Array | undefined; +}; + +/** @internal */ +export const GetProjectDomainsDomains$outboundSchema: z.ZodType< + GetProjectDomainsDomains$Outbound, + z.ZodTypeDef, + GetProjectDomainsDomains +> = z.object({ + name: z.string(), + apexName: z.string(), + projectId: z.string(), + redirect: z.nullable(z.string()).optional(), + redirectStatusCode: z.nullable(z.number()).optional(), + gitBranch: z.nullable(z.string()).optional(), + customEnvironmentId: z.nullable(z.string()).optional(), + updatedAt: z.number().optional(), + createdAt: z.number().optional(), + verified: z.boolean(), + verification: z.array( + z.lazy(() => GetProjectDomainsVerification$outboundSchema), + ).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectDomainsDomains$ { + /** @deprecated use `GetProjectDomainsDomains$inboundSchema` instead. */ + export const inboundSchema = GetProjectDomainsDomains$inboundSchema; + /** @deprecated use `GetProjectDomainsDomains$outboundSchema` instead. */ + export const outboundSchema = GetProjectDomainsDomains$outboundSchema; + /** @deprecated use `GetProjectDomainsDomains$Outbound` instead. */ + export type Outbound = GetProjectDomainsDomains$Outbound; +} + +export function getProjectDomainsDomainsToJSON( + getProjectDomainsDomains: GetProjectDomainsDomains, +): string { + return JSON.stringify( + GetProjectDomainsDomains$outboundSchema.parse(getProjectDomainsDomains), + ); +} + +export function getProjectDomainsDomainsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectDomainsDomains$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectDomainsDomains' from JSON`, + ); +} + +/** @internal */ +export const GetProjectDomainsResponseBody$inboundSchema: z.ZodType< + GetProjectDomainsResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + domains: z.array(z.lazy(() => GetProjectDomainsDomains$inboundSchema)), + pagination: Pagination$inboundSchema, +}); + +/** @internal */ +export type GetProjectDomainsResponseBody$Outbound = { + domains: Array; + pagination: Pagination$Outbound; +}; + +/** @internal */ +export const GetProjectDomainsResponseBody$outboundSchema: z.ZodType< + GetProjectDomainsResponseBody$Outbound, + z.ZodTypeDef, + GetProjectDomainsResponseBody +> = z.object({ + domains: z.array(z.lazy(() => GetProjectDomainsDomains$outboundSchema)), + pagination: Pagination$outboundSchema, +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GetProjectDomainsResponseBody$ { + /** @deprecated use `GetProjectDomainsResponseBody$inboundSchema` instead. */ + export const inboundSchema = GetProjectDomainsResponseBody$inboundSchema; + /** @deprecated use `GetProjectDomainsResponseBody$outboundSchema` instead. */ + export const outboundSchema = GetProjectDomainsResponseBody$outboundSchema; + /** @deprecated use `GetProjectDomainsResponseBody$Outbound` instead. */ + export type Outbound = GetProjectDomainsResponseBody$Outbound; +} + +export function getProjectDomainsResponseBodyToJSON( + getProjectDomainsResponseBody: GetProjectDomainsResponseBody, +): string { + return JSON.stringify( + GetProjectDomainsResponseBody$outboundSchema.parse( + getProjectDomainsResponseBody, + ), + ); +} + +export function getProjectDomainsResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectDomainsResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectDomainsResponseBody' from JSON`, + ); +} diff --git a/src/models/operations/getprojects.ts b/src/models/operations/getprojects.ts index 54b48565..c4ea7120 100644 --- a/src/models/operations/getprojects.ts +++ b/src/models/operations/getprojects.ts @@ -1058,6 +1058,7 @@ export type GetProjectsPermissions = { notificationCustomerBudget?: Array | undefined; notificationStatementOfReasons?: Array | undefined; oauth2Connection?: Array | undefined; + observabilityConfiguration?: Array | undefined; openTelemetryEndpoint?: Array | undefined; paymentMethod?: Array | undefined; permissions?: Array | undefined; @@ -1132,6 +1133,7 @@ export type GetProjectsPermissions = { passwordProtection?: Array | undefined; optionsAllowlist?: Array | undefined; job?: Array | undefined; + observabilityData?: Array | undefined; project?: Array | undefined; projectFromV0?: Array | undefined; projectAccessGroup?: Array | undefined; @@ -6440,6 +6442,7 @@ export const GetProjectsPermissions$inboundSchema: z.ZodType< notificationCustomerBudget: z.array(ACLAction$inboundSchema).optional(), notificationStatementOfReasons: z.array(ACLAction$inboundSchema).optional(), oauth2Connection: z.array(ACLAction$inboundSchema).optional(), + observabilityConfiguration: z.array(ACLAction$inboundSchema).optional(), openTelemetryEndpoint: z.array(ACLAction$inboundSchema).optional(), paymentMethod: z.array(ACLAction$inboundSchema).optional(), permissions: z.array(ACLAction$inboundSchema).optional(), @@ -6515,6 +6518,7 @@ export const GetProjectsPermissions$inboundSchema: z.ZodType< passwordProtection: z.array(ACLAction$inboundSchema).optional(), optionsAllowlist: z.array(ACLAction$inboundSchema).optional(), job: z.array(ACLAction$inboundSchema).optional(), + observabilityData: z.array(ACLAction$inboundSchema).optional(), project: z.array(ACLAction$inboundSchema).optional(), projectFromV0: z.array(ACLAction$inboundSchema).optional(), projectAccessGroup: z.array(ACLAction$inboundSchema).optional(), @@ -6632,6 +6636,7 @@ export type GetProjectsPermissions$Outbound = { notificationCustomerBudget?: Array | undefined; notificationStatementOfReasons?: Array | undefined; oauth2Connection?: Array | undefined; + observabilityConfiguration?: Array | undefined; openTelemetryEndpoint?: Array | undefined; paymentMethod?: Array | undefined; permissions?: Array | undefined; @@ -6706,6 +6711,7 @@ export type GetProjectsPermissions$Outbound = { passwordProtection?: Array | undefined; optionsAllowlist?: Array | undefined; job?: Array | undefined; + observabilityData?: Array | undefined; project?: Array | undefined; projectFromV0?: Array | undefined; projectAccessGroup?: Array | undefined; @@ -6824,6 +6830,7 @@ export const GetProjectsPermissions$outboundSchema: z.ZodType< notificationCustomerBudget: z.array(ACLAction$outboundSchema).optional(), notificationStatementOfReasons: z.array(ACLAction$outboundSchema).optional(), oauth2Connection: z.array(ACLAction$outboundSchema).optional(), + observabilityConfiguration: z.array(ACLAction$outboundSchema).optional(), openTelemetryEndpoint: z.array(ACLAction$outboundSchema).optional(), paymentMethod: z.array(ACLAction$outboundSchema).optional(), permissions: z.array(ACLAction$outboundSchema).optional(), @@ -6899,6 +6906,7 @@ export const GetProjectsPermissions$outboundSchema: z.ZodType< passwordProtection: z.array(ACLAction$outboundSchema).optional(), optionsAllowlist: z.array(ACLAction$outboundSchema).optional(), job: z.array(ACLAction$outboundSchema).optional(), + observabilityData: z.array(ACLAction$outboundSchema).optional(), project: z.array(ACLAction$outboundSchema).optional(), projectFromV0: z.array(ACLAction$outboundSchema).optional(), projectAccessGroup: z.array(ACLAction$outboundSchema).optional(), diff --git a/src/models/operations/putfirewallconfig.ts b/src/models/operations/putfirewallconfig.ts index 769a8853..f1db03c8 100644 --- a/src/models/operations/putfirewallconfig.ts +++ b/src/models/operations/putfirewallconfig.ts @@ -17,17 +17,6 @@ export type ManagedRules = { owasp: Owasp; }; -export const Action = { - Deny: "deny", - Log: "log", -} as const; -export type Action = ClosedEnum; - -export type Sd = { - active: boolean; - action: Action; -}; - export const PutFirewallConfigAction = { Deny: "deny", Log: "log", @@ -36,7 +25,7 @@ export type PutFirewallConfigAction = ClosedEnum< typeof PutFirewallConfigAction >; -export type Ma = { +export type Sd = { active: boolean; action: PutFirewallConfigAction; }; @@ -49,7 +38,7 @@ export type PutFirewallConfigSecurityAction = ClosedEnum< typeof PutFirewallConfigSecurityAction >; -export type Lfi = { +export type Ma = { active: boolean; action: PutFirewallConfigSecurityAction; }; @@ -62,7 +51,7 @@ export type PutFirewallConfigSecurityRequestAction = ClosedEnum< typeof PutFirewallConfigSecurityRequestAction >; -export type Rfi = { +export type Lfi = { active: boolean; action: PutFirewallConfigSecurityRequestAction; }; @@ -75,7 +64,7 @@ export type PutFirewallConfigSecurityRequestRequestBodyAction = ClosedEnum< typeof PutFirewallConfigSecurityRequestRequestBodyAction >; -export type Rce = { +export type Rfi = { active: boolean; action: PutFirewallConfigSecurityRequestRequestBodyAction; }; @@ -88,11 +77,23 @@ export type PutFirewallConfigSecurityRequestRequestBodyCrsAction = ClosedEnum< typeof PutFirewallConfigSecurityRequestRequestBodyCrsAction >; -export type Php = { +export type Rce = { active: boolean; action: PutFirewallConfigSecurityRequestRequestBodyCrsAction; }; +export const PutFirewallConfigSecurityRequestRequestBodyCrsPhpAction = { + Deny: "deny", + Log: "log", +} as const; +export type PutFirewallConfigSecurityRequestRequestBodyCrsPhpAction = + ClosedEnum; + +export type Php = { + active: boolean; + action: PutFirewallConfigSecurityRequestRequestBodyCrsPhpAction; +}; + export const PutFirewallConfigSecurityRequestRequestBodyCrsGenAction = { Deny: "deny", Log: "log", @@ -798,28 +799,30 @@ export function managedRulesFromJSON( } /** @internal */ -export const Action$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(Action); +export const PutFirewallConfigAction$inboundSchema: z.ZodNativeEnum< + typeof PutFirewallConfigAction +> = z.nativeEnum(PutFirewallConfigAction); /** @internal */ -export const Action$outboundSchema: z.ZodNativeEnum = - Action$inboundSchema; +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 Action$ { - /** @deprecated use `Action$inboundSchema` instead. */ - export const inboundSchema = Action$inboundSchema; - /** @deprecated use `Action$outboundSchema` instead. */ - export const outboundSchema = Action$outboundSchema; +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: Action$inboundSchema, + action: PutFirewallConfigAction$inboundSchema, }); /** @internal */ @@ -832,7 +835,7 @@ export type Sd$Outbound = { export const Sd$outboundSchema: z.ZodType = z .object({ active: z.boolean(), - action: Action$outboundSchema, + action: PutFirewallConfigAction$outboundSchema, }); /** @@ -863,30 +866,30 @@ export function sdFromJSON( } /** @internal */ -export const PutFirewallConfigAction$inboundSchema: z.ZodNativeEnum< - typeof PutFirewallConfigAction -> = z.nativeEnum(PutFirewallConfigAction); +export const PutFirewallConfigSecurityAction$inboundSchema: z.ZodNativeEnum< + typeof PutFirewallConfigSecurityAction +> = z.nativeEnum(PutFirewallConfigSecurityAction); /** @internal */ -export const PutFirewallConfigAction$outboundSchema: z.ZodNativeEnum< - typeof PutFirewallConfigAction -> = PutFirewallConfigAction$inboundSchema; +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 PutFirewallConfigAction$ { - /** @deprecated use `PutFirewallConfigAction$inboundSchema` instead. */ - export const inboundSchema = PutFirewallConfigAction$inboundSchema; - /** @deprecated use `PutFirewallConfigAction$outboundSchema` instead. */ - export const outboundSchema = PutFirewallConfigAction$outboundSchema; +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: PutFirewallConfigAction$inboundSchema, + action: PutFirewallConfigSecurityAction$inboundSchema, }); /** @internal */ @@ -899,7 +902,7 @@ export type Ma$Outbound = { export const Ma$outboundSchema: z.ZodType = z .object({ active: z.boolean(), - action: PutFirewallConfigAction$outboundSchema, + action: PutFirewallConfigSecurityAction$outboundSchema, }); /** @@ -930,31 +933,34 @@ export function maFromJSON( } /** @internal */ -export const PutFirewallConfigSecurityAction$inboundSchema: z.ZodNativeEnum< - typeof PutFirewallConfigSecurityAction -> = z.nativeEnum(PutFirewallConfigSecurityAction); +export const PutFirewallConfigSecurityRequestAction$inboundSchema: + z.ZodNativeEnum = z.nativeEnum( + PutFirewallConfigSecurityRequestAction, + ); /** @internal */ -export const PutFirewallConfigSecurityAction$outboundSchema: z.ZodNativeEnum< - typeof PutFirewallConfigSecurityAction -> = PutFirewallConfigSecurityAction$inboundSchema; +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 PutFirewallConfigSecurityAction$ { - /** @deprecated use `PutFirewallConfigSecurityAction$inboundSchema` instead. */ - export const inboundSchema = PutFirewallConfigSecurityAction$inboundSchema; - /** @deprecated use `PutFirewallConfigSecurityAction$outboundSchema` instead. */ - export const outboundSchema = PutFirewallConfigSecurityAction$outboundSchema; +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: PutFirewallConfigSecurityAction$inboundSchema, + action: PutFirewallConfigSecurityRequestAction$inboundSchema, }); /** @internal */ @@ -967,7 +973,7 @@ export type Lfi$Outbound = { export const Lfi$outboundSchema: z.ZodType = z .object({ active: z.boolean(), - action: PutFirewallConfigSecurityAction$outboundSchema, + action: PutFirewallConfigSecurityRequestAction$outboundSchema, }); /** @@ -998,34 +1004,33 @@ export function lfiFromJSON( } /** @internal */ -export const PutFirewallConfigSecurityRequestAction$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - PutFirewallConfigSecurityRequestAction, - ); +export const PutFirewallConfigSecurityRequestRequestBodyAction$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(PutFirewallConfigSecurityRequestRequestBodyAction); /** @internal */ -export const PutFirewallConfigSecurityRequestAction$outboundSchema: - z.ZodNativeEnum = - PutFirewallConfigSecurityRequestAction$inboundSchema; +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 PutFirewallConfigSecurityRequestAction$ { - /** @deprecated use `PutFirewallConfigSecurityRequestAction$inboundSchema` instead. */ +export namespace PutFirewallConfigSecurityRequestRequestBodyAction$ { + /** @deprecated use `PutFirewallConfigSecurityRequestRequestBodyAction$inboundSchema` instead. */ export const inboundSchema = - PutFirewallConfigSecurityRequestAction$inboundSchema; - /** @deprecated use `PutFirewallConfigSecurityRequestAction$outboundSchema` instead. */ + PutFirewallConfigSecurityRequestRequestBodyAction$inboundSchema; + /** @deprecated use `PutFirewallConfigSecurityRequestRequestBodyAction$outboundSchema` instead. */ export const outboundSchema = - PutFirewallConfigSecurityRequestAction$outboundSchema; + PutFirewallConfigSecurityRequestRequestBodyAction$outboundSchema; } /** @internal */ export const Rfi$inboundSchema: z.ZodType = z .object({ active: z.boolean(), - action: PutFirewallConfigSecurityRequestAction$inboundSchema, + action: PutFirewallConfigSecurityRequestRequestBodyAction$inboundSchema, }); /** @internal */ @@ -1038,7 +1043,7 @@ export type Rfi$Outbound = { export const Rfi$outboundSchema: z.ZodType = z .object({ active: z.boolean(), - action: PutFirewallConfigSecurityRequestAction$outboundSchema, + action: PutFirewallConfigSecurityRequestRequestBodyAction$outboundSchema, }); /** @@ -1069,33 +1074,33 @@ export function rfiFromJSON( } /** @internal */ -export const PutFirewallConfigSecurityRequestRequestBodyAction$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(PutFirewallConfigSecurityRequestRequestBodyAction); +export const PutFirewallConfigSecurityRequestRequestBodyCrsAction$inboundSchema: + z.ZodNativeEnum = + z.nativeEnum(PutFirewallConfigSecurityRequestRequestBodyCrsAction); /** @internal */ -export const PutFirewallConfigSecurityRequestRequestBodyAction$outboundSchema: - z.ZodNativeEnum = - PutFirewallConfigSecurityRequestRequestBodyAction$inboundSchema; +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 PutFirewallConfigSecurityRequestRequestBodyAction$ { - /** @deprecated use `PutFirewallConfigSecurityRequestRequestBodyAction$inboundSchema` instead. */ +export namespace PutFirewallConfigSecurityRequestRequestBodyCrsAction$ { + /** @deprecated use `PutFirewallConfigSecurityRequestRequestBodyCrsAction$inboundSchema` instead. */ export const inboundSchema = - PutFirewallConfigSecurityRequestRequestBodyAction$inboundSchema; - /** @deprecated use `PutFirewallConfigSecurityRequestRequestBodyAction$outboundSchema` instead. */ + PutFirewallConfigSecurityRequestRequestBodyCrsAction$inboundSchema; + /** @deprecated use `PutFirewallConfigSecurityRequestRequestBodyCrsAction$outboundSchema` instead. */ export const outboundSchema = - PutFirewallConfigSecurityRequestRequestBodyAction$outboundSchema; + PutFirewallConfigSecurityRequestRequestBodyCrsAction$outboundSchema; } /** @internal */ export const Rce$inboundSchema: z.ZodType = z .object({ active: z.boolean(), - action: PutFirewallConfigSecurityRequestRequestBodyAction$inboundSchema, + action: PutFirewallConfigSecurityRequestRequestBodyCrsAction$inboundSchema, }); /** @internal */ @@ -1108,7 +1113,7 @@ export type Rce$Outbound = { export const Rce$outboundSchema: z.ZodType = z .object({ active: z.boolean(), - action: PutFirewallConfigSecurityRequestRequestBodyAction$outboundSchema, + action: PutFirewallConfigSecurityRequestRequestBodyCrsAction$outboundSchema, }); /** @@ -1139,33 +1144,36 @@ export function rceFromJSON( } /** @internal */ -export const PutFirewallConfigSecurityRequestRequestBodyCrsAction$inboundSchema: - z.ZodNativeEnum = - z.nativeEnum(PutFirewallConfigSecurityRequestRequestBodyCrsAction); +export const PutFirewallConfigSecurityRequestRequestBodyCrsPhpAction$inboundSchema: + z.ZodNativeEnum< + typeof PutFirewallConfigSecurityRequestRequestBodyCrsPhpAction + > = z.nativeEnum(PutFirewallConfigSecurityRequestRequestBodyCrsPhpAction); /** @internal */ -export const PutFirewallConfigSecurityRequestRequestBodyCrsAction$outboundSchema: - z.ZodNativeEnum = - PutFirewallConfigSecurityRequestRequestBodyCrsAction$inboundSchema; +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 PutFirewallConfigSecurityRequestRequestBodyCrsAction$ { - /** @deprecated use `PutFirewallConfigSecurityRequestRequestBodyCrsAction$inboundSchema` instead. */ +export namespace PutFirewallConfigSecurityRequestRequestBodyCrsPhpAction$ { + /** @deprecated use `PutFirewallConfigSecurityRequestRequestBodyCrsPhpAction$inboundSchema` instead. */ export const inboundSchema = - PutFirewallConfigSecurityRequestRequestBodyCrsAction$inboundSchema; - /** @deprecated use `PutFirewallConfigSecurityRequestRequestBodyCrsAction$outboundSchema` instead. */ + PutFirewallConfigSecurityRequestRequestBodyCrsPhpAction$inboundSchema; + /** @deprecated use `PutFirewallConfigSecurityRequestRequestBodyCrsPhpAction$outboundSchema` instead. */ export const outboundSchema = - PutFirewallConfigSecurityRequestRequestBodyCrsAction$outboundSchema; + PutFirewallConfigSecurityRequestRequestBodyCrsPhpAction$outboundSchema; } /** @internal */ export const Php$inboundSchema: z.ZodType = z .object({ active: z.boolean(), - action: PutFirewallConfigSecurityRequestRequestBodyCrsAction$inboundSchema, + action: + PutFirewallConfigSecurityRequestRequestBodyCrsPhpAction$inboundSchema, }); /** @internal */ @@ -1178,7 +1186,8 @@ export type Php$Outbound = { export const Php$outboundSchema: z.ZodType = z .object({ active: z.boolean(), - action: PutFirewallConfigSecurityRequestRequestBodyCrsAction$outboundSchema, + action: + PutFirewallConfigSecurityRequestRequestBodyCrsPhpAction$outboundSchema, }); /** diff --git a/src/models/operations/submitbillingdata.ts b/src/models/operations/submitbillingdata.ts new file mode 100644 index 00000000..04340140 --- /dev/null +++ b/src/models/operations/submitbillingdata.ts @@ -0,0 +1,813 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { remap as remap$ } from "../../lib/primitives.js"; +import { safeParse } from "../../lib/schemas.js"; +import { ClosedEnum } from "../../types/enums.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; + +/** + * Period for the billing cycle. + */ +export type Period = { + start: Date; + end: Date; +}; + +export type BillingItems = { + /** + * Partner's billing plan ID. + */ + billingPlanId: string; + /** + * Partner's resource ID. + */ + resourceId?: string | undefined; + /** + * Start and end are only needed if different from the period's start/end. + */ + start?: Date | undefined; + /** + * Start and end are only needed if different from the period's start/end. + */ + end?: Date | undefined; + /** + * Line item name. + */ + name: string; + /** + * Line item details. + */ + details?: string | undefined; + /** + * Price per unit. + */ + price: string; + /** + * Quantity of units. + */ + quantity: number; + /** + * Units of the quantity. + */ + units: string; + /** + * Total amount. + */ + total: string; +}; + +export type Discounts = { + /** + * Partner's billing plan ID. + */ + billingPlanId: string; + /** + * Partner's resource ID. + */ + resourceId?: string | undefined; + /** + * Start and end are only needed if different from the period's start/end. + */ + start?: Date | undefined; + /** + * Start and end are only needed if different from the period's start/end. + */ + end?: Date | undefined; + /** + * Discount name. + */ + name: string; + /** + * Discount details. + */ + details?: string | undefined; + /** + * Discount amount. + */ + amount: string; +}; + +export type Billing2 = { + items: Array; + discounts?: Array | undefined; +}; + +export type Billing1 = { + /** + * Partner's billing plan ID. + */ + billingPlanId: string; + /** + * Partner's resource ID. + */ + resourceId?: string | undefined; + /** + * Start and end are only needed if different from the period's start/end. + */ + start?: Date | undefined; + /** + * Start and end are only needed if different from the period's start/end. + */ + end?: Date | undefined; + /** + * Line item name. + */ + name: string; + /** + * Line item details. + */ + details?: string | undefined; + /** + * Price per unit. + */ + price: string; + /** + * Quantity of units. + */ + quantity: number; + /** + * Units of the quantity. + */ + units: string; + /** + * Total amount. + */ + total: string; +}; + +/** + * Billing data (interim invoicing data). + */ +export type Billing = Billing2 | Array; + +/** + * \n Type of the metric.\n - total: measured total value, such as Database size\n - interval: usage during the period, such as i/o or number of queries.\n - rate: rate of usage, such as queries per second.\n + */ +export const SubmitBillingDataType = { + Total: "total", + Interval: "interval", + Rate: "rate", +} as const; +/** + * \n Type of the metric.\n - total: measured total value, such as Database size\n - interval: usage during the period, such as i/o or number of queries.\n - rate: rate of usage, such as queries per second.\n + */ +export type SubmitBillingDataType = ClosedEnum; + +export type Usage = { + /** + * Partner's resource ID. + */ + resourceId: string; + /** + * Metric name. + */ + name: string; + /** + * \n Type of the metric.\n - total: measured total value, such as Database size\n - interval: usage during the period, such as i/o or number of queries.\n - rate: rate of usage, such as queries per second.\n + */ + type: SubmitBillingDataType; + /** + * Metric units. Example: \"GB\" + */ + units: string; + /** + * Metric value for the day. Could be a final or an interim value for the day. + */ + dayValue: number; + /** + * Metric value for the billing period. Could be a final or an interim value for the period. + */ + periodValue: number; + /** + * The limit value of the metric for a billing period, if a limit is defined by the plan. + */ + planValue?: number | undefined; +}; + +export type SubmitBillingDataRequestBody = { + timestamp: Date; + eod: Date; + /** + * Period for the billing cycle. + */ + period: Period; + /** + * Billing data (interim invoicing data). + */ + billing: Billing2 | Array; + usage: Array; +}; + +export type SubmitBillingDataRequest = { + integrationConfigurationId: string; + requestBody?: SubmitBillingDataRequestBody | undefined; +}; + +/** @internal */ +export const Period$inboundSchema: z.ZodType = z + .object({ + start: z.string().datetime({ offset: true }).transform(v => new Date(v)), + end: z.string().datetime({ offset: true }).transform(v => new Date(v)), + }); + +/** @internal */ +export type Period$Outbound = { + start: string; + end: string; +}; + +/** @internal */ +export const Period$outboundSchema: z.ZodType< + Period$Outbound, + z.ZodTypeDef, + Period +> = z.object({ + start: z.date().transform(v => v.toISOString()), + end: z.date().transform(v => v.toISOString()), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Period$ { + /** @deprecated use `Period$inboundSchema` instead. */ + export const inboundSchema = Period$inboundSchema; + /** @deprecated use `Period$outboundSchema` instead. */ + export const outboundSchema = Period$outboundSchema; + /** @deprecated use `Period$Outbound` instead. */ + export type Outbound = Period$Outbound; +} + +export function periodToJSON(period: Period): string { + return JSON.stringify(Period$outboundSchema.parse(period)); +} + +export function periodFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Period$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Period' from JSON`, + ); +} + +/** @internal */ +export const BillingItems$inboundSchema: z.ZodType< + BillingItems, + z.ZodTypeDef, + unknown +> = z.object({ + billingPlanId: z.string(), + resourceId: z.string().optional(), + start: z.string().datetime({ offset: true }).transform(v => new Date(v)) + .optional(), + end: z.string().datetime({ offset: true }).transform(v => new Date(v)) + .optional(), + name: z.string(), + details: z.string().optional(), + price: z.string(), + quantity: z.number(), + units: z.string(), + total: z.string(), +}); + +/** @internal */ +export type BillingItems$Outbound = { + billingPlanId: string; + resourceId?: string | undefined; + start?: string | undefined; + end?: string | undefined; + name: string; + details?: string | undefined; + price: string; + quantity: number; + units: string; + total: string; +}; + +/** @internal */ +export const BillingItems$outboundSchema: z.ZodType< + BillingItems$Outbound, + z.ZodTypeDef, + BillingItems +> = z.object({ + billingPlanId: z.string(), + resourceId: z.string().optional(), + start: z.date().transform(v => v.toISOString()).optional(), + end: z.date().transform(v => v.toISOString()).optional(), + name: z.string(), + details: z.string().optional(), + price: z.string(), + quantity: z.number(), + units: z.string(), + total: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace BillingItems$ { + /** @deprecated use `BillingItems$inboundSchema` instead. */ + export const inboundSchema = BillingItems$inboundSchema; + /** @deprecated use `BillingItems$outboundSchema` instead. */ + export const outboundSchema = BillingItems$outboundSchema; + /** @deprecated use `BillingItems$Outbound` instead. */ + export type Outbound = BillingItems$Outbound; +} + +export function billingItemsToJSON(billingItems: BillingItems): string { + return JSON.stringify(BillingItems$outboundSchema.parse(billingItems)); +} + +export function billingItemsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => BillingItems$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'BillingItems' from JSON`, + ); +} + +/** @internal */ +export const Discounts$inboundSchema: z.ZodType< + Discounts, + z.ZodTypeDef, + unknown +> = z.object({ + billingPlanId: z.string(), + resourceId: z.string().optional(), + start: z.string().datetime({ offset: true }).transform(v => new Date(v)) + .optional(), + end: z.string().datetime({ offset: true }).transform(v => new Date(v)) + .optional(), + name: z.string(), + details: z.string().optional(), + amount: z.string(), +}); + +/** @internal */ +export type Discounts$Outbound = { + billingPlanId: string; + resourceId?: string | undefined; + start?: string | undefined; + end?: string | undefined; + name: string; + details?: string | undefined; + amount: string; +}; + +/** @internal */ +export const Discounts$outboundSchema: z.ZodType< + Discounts$Outbound, + z.ZodTypeDef, + Discounts +> = z.object({ + billingPlanId: z.string(), + resourceId: z.string().optional(), + start: z.date().transform(v => v.toISOString()).optional(), + end: z.date().transform(v => v.toISOString()).optional(), + name: z.string(), + details: z.string().optional(), + amount: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Discounts$ { + /** @deprecated use `Discounts$inboundSchema` instead. */ + export const inboundSchema = Discounts$inboundSchema; + /** @deprecated use `Discounts$outboundSchema` instead. */ + export const outboundSchema = Discounts$outboundSchema; + /** @deprecated use `Discounts$Outbound` instead. */ + export type Outbound = Discounts$Outbound; +} + +export function discountsToJSON(discounts: Discounts): string { + return JSON.stringify(Discounts$outboundSchema.parse(discounts)); +} + +export function discountsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Discounts$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Discounts' from JSON`, + ); +} + +/** @internal */ +export const Billing2$inboundSchema: z.ZodType< + Billing2, + z.ZodTypeDef, + unknown +> = z.object({ + items: z.array(z.lazy(() => BillingItems$inboundSchema)), + discounts: z.array(z.lazy(() => Discounts$inboundSchema)).optional(), +}); + +/** @internal */ +export type Billing2$Outbound = { + items: Array; + discounts?: Array | undefined; +}; + +/** @internal */ +export const Billing2$outboundSchema: z.ZodType< + Billing2$Outbound, + z.ZodTypeDef, + Billing2 +> = z.object({ + items: z.array(z.lazy(() => BillingItems$outboundSchema)), + discounts: z.array(z.lazy(() => Discounts$outboundSchema)).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Billing2$ { + /** @deprecated use `Billing2$inboundSchema` instead. */ + export const inboundSchema = Billing2$inboundSchema; + /** @deprecated use `Billing2$outboundSchema` instead. */ + export const outboundSchema = Billing2$outboundSchema; + /** @deprecated use `Billing2$Outbound` instead. */ + export type Outbound = Billing2$Outbound; +} + +export function billing2ToJSON(billing2: Billing2): string { + return JSON.stringify(Billing2$outboundSchema.parse(billing2)); +} + +export function billing2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Billing2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Billing2' from JSON`, + ); +} + +/** @internal */ +export const Billing1$inboundSchema: z.ZodType< + Billing1, + z.ZodTypeDef, + unknown +> = z.object({ + billingPlanId: z.string(), + resourceId: z.string().optional(), + start: z.string().datetime({ offset: true }).transform(v => new Date(v)) + .optional(), + end: z.string().datetime({ offset: true }).transform(v => new Date(v)) + .optional(), + name: z.string(), + details: z.string().optional(), + price: z.string(), + quantity: z.number(), + units: z.string(), + total: z.string(), +}); + +/** @internal */ +export type Billing1$Outbound = { + billingPlanId: string; + resourceId?: string | undefined; + start?: string | undefined; + end?: string | undefined; + name: string; + details?: string | undefined; + price: string; + quantity: number; + units: string; + total: string; +}; + +/** @internal */ +export const Billing1$outboundSchema: z.ZodType< + Billing1$Outbound, + z.ZodTypeDef, + Billing1 +> = z.object({ + billingPlanId: z.string(), + resourceId: z.string().optional(), + start: z.date().transform(v => v.toISOString()).optional(), + end: z.date().transform(v => v.toISOString()).optional(), + name: z.string(), + details: z.string().optional(), + price: z.string(), + quantity: z.number(), + units: z.string(), + total: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Billing1$ { + /** @deprecated use `Billing1$inboundSchema` instead. */ + export const inboundSchema = Billing1$inboundSchema; + /** @deprecated use `Billing1$outboundSchema` instead. */ + export const outboundSchema = Billing1$outboundSchema; + /** @deprecated use `Billing1$Outbound` instead. */ + export type Outbound = Billing1$Outbound; +} + +export function billing1ToJSON(billing1: Billing1): string { + return JSON.stringify(Billing1$outboundSchema.parse(billing1)); +} + +export function billing1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Billing1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Billing1' from JSON`, + ); +} + +/** @internal */ +export const Billing$inboundSchema: z.ZodType = + z.union([ + z.lazy(() => Billing2$inboundSchema), + z.array(z.lazy(() => Billing1$inboundSchema)), + ]); + +/** @internal */ +export type Billing$Outbound = Billing2$Outbound | Array; + +/** @internal */ +export const Billing$outboundSchema: z.ZodType< + Billing$Outbound, + z.ZodTypeDef, + Billing +> = z.union([ + z.lazy(() => Billing2$outboundSchema), + z.array(z.lazy(() => Billing1$outboundSchema)), +]); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Billing$ { + /** @deprecated use `Billing$inboundSchema` instead. */ + export const inboundSchema = Billing$inboundSchema; + /** @deprecated use `Billing$outboundSchema` instead. */ + export const outboundSchema = Billing$outboundSchema; + /** @deprecated use `Billing$Outbound` instead. */ + export type Outbound = Billing$Outbound; +} + +export function billingToJSON(billing: Billing): string { + return JSON.stringify(Billing$outboundSchema.parse(billing)); +} + +export function billingFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Billing$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Billing' from JSON`, + ); +} + +/** @internal */ +export const SubmitBillingDataType$inboundSchema: z.ZodNativeEnum< + typeof SubmitBillingDataType +> = z.nativeEnum(SubmitBillingDataType); + +/** @internal */ +export const SubmitBillingDataType$outboundSchema: z.ZodNativeEnum< + typeof SubmitBillingDataType +> = SubmitBillingDataType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace SubmitBillingDataType$ { + /** @deprecated use `SubmitBillingDataType$inboundSchema` instead. */ + export const inboundSchema = SubmitBillingDataType$inboundSchema; + /** @deprecated use `SubmitBillingDataType$outboundSchema` instead. */ + export const outboundSchema = SubmitBillingDataType$outboundSchema; +} + +/** @internal */ +export const Usage$inboundSchema: z.ZodType = z + .object({ + resourceId: z.string(), + name: z.string(), + type: SubmitBillingDataType$inboundSchema, + units: z.string(), + dayValue: z.number(), + periodValue: z.number(), + planValue: z.number().optional(), + }); + +/** @internal */ +export type Usage$Outbound = { + resourceId: string; + name: string; + type: string; + units: string; + dayValue: number; + periodValue: number; + planValue?: number | undefined; +}; + +/** @internal */ +export const Usage$outboundSchema: z.ZodType< + Usage$Outbound, + z.ZodTypeDef, + Usage +> = z.object({ + resourceId: z.string(), + name: z.string(), + type: SubmitBillingDataType$outboundSchema, + units: z.string(), + dayValue: z.number(), + periodValue: z.number(), + planValue: z.number().optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Usage$ { + /** @deprecated use `Usage$inboundSchema` instead. */ + export const inboundSchema = Usage$inboundSchema; + /** @deprecated use `Usage$outboundSchema` instead. */ + export const outboundSchema = Usage$outboundSchema; + /** @deprecated use `Usage$Outbound` instead. */ + export type Outbound = Usage$Outbound; +} + +export function usageToJSON(usage: Usage): string { + return JSON.stringify(Usage$outboundSchema.parse(usage)); +} + +export function usageFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Usage$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Usage' from JSON`, + ); +} + +/** @internal */ +export const SubmitBillingDataRequestBody$inboundSchema: z.ZodType< + SubmitBillingDataRequestBody, + z.ZodTypeDef, + unknown +> = z.object({ + timestamp: z.string().datetime({ offset: true }).transform(v => new Date(v)), + eod: z.string().datetime({ offset: true }).transform(v => new Date(v)), + period: z.lazy(() => Period$inboundSchema), + billing: z.union([ + z.lazy(() => Billing2$inboundSchema), + z.array(z.lazy(() => Billing1$inboundSchema)), + ]), + usage: z.array(z.lazy(() => Usage$inboundSchema)), +}); + +/** @internal */ +export type SubmitBillingDataRequestBody$Outbound = { + timestamp: string; + eod: string; + period: Period$Outbound; + billing: Billing2$Outbound | Array; + usage: Array; +}; + +/** @internal */ +export const SubmitBillingDataRequestBody$outboundSchema: z.ZodType< + SubmitBillingDataRequestBody$Outbound, + z.ZodTypeDef, + SubmitBillingDataRequestBody +> = z.object({ + timestamp: z.date().transform(v => v.toISOString()), + eod: z.date().transform(v => v.toISOString()), + period: z.lazy(() => Period$outboundSchema), + billing: z.union([ + z.lazy(() => Billing2$outboundSchema), + z.array(z.lazy(() => Billing1$outboundSchema)), + ]), + usage: z.array(z.lazy(() => Usage$outboundSchema)), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace SubmitBillingDataRequestBody$ { + /** @deprecated use `SubmitBillingDataRequestBody$inboundSchema` instead. */ + export const inboundSchema = SubmitBillingDataRequestBody$inboundSchema; + /** @deprecated use `SubmitBillingDataRequestBody$outboundSchema` instead. */ + export const outboundSchema = SubmitBillingDataRequestBody$outboundSchema; + /** @deprecated use `SubmitBillingDataRequestBody$Outbound` instead. */ + export type Outbound = SubmitBillingDataRequestBody$Outbound; +} + +export function submitBillingDataRequestBodyToJSON( + submitBillingDataRequestBody: SubmitBillingDataRequestBody, +): string { + return JSON.stringify( + SubmitBillingDataRequestBody$outboundSchema.parse( + submitBillingDataRequestBody, + ), + ); +} + +export function submitBillingDataRequestBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => SubmitBillingDataRequestBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'SubmitBillingDataRequestBody' from JSON`, + ); +} + +/** @internal */ +export const SubmitBillingDataRequest$inboundSchema: z.ZodType< + SubmitBillingDataRequest, + z.ZodTypeDef, + unknown +> = z.object({ + integrationConfigurationId: z.string(), + RequestBody: z.lazy(() => SubmitBillingDataRequestBody$inboundSchema) + .optional(), +}).transform((v) => { + return remap$(v, { + "RequestBody": "requestBody", + }); +}); + +/** @internal */ +export type SubmitBillingDataRequest$Outbound = { + integrationConfigurationId: string; + RequestBody?: SubmitBillingDataRequestBody$Outbound | undefined; +}; + +/** @internal */ +export const SubmitBillingDataRequest$outboundSchema: z.ZodType< + SubmitBillingDataRequest$Outbound, + z.ZodTypeDef, + SubmitBillingDataRequest +> = z.object({ + integrationConfigurationId: z.string(), + requestBody: z.lazy(() => SubmitBillingDataRequestBody$outboundSchema) + .optional(), +}).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace SubmitBillingDataRequest$ { + /** @deprecated use `SubmitBillingDataRequest$inboundSchema` instead. */ + export const inboundSchema = SubmitBillingDataRequest$inboundSchema; + /** @deprecated use `SubmitBillingDataRequest$outboundSchema` instead. */ + export const outboundSchema = SubmitBillingDataRequest$outboundSchema; + /** @deprecated use `SubmitBillingDataRequest$Outbound` instead. */ + export type Outbound = SubmitBillingDataRequest$Outbound; +} + +export function submitBillingDataRequestToJSON( + submitBillingDataRequest: SubmitBillingDataRequest, +): string { + return JSON.stringify( + SubmitBillingDataRequest$outboundSchema.parse(submitBillingDataRequest), + ); +} + +export function submitBillingDataRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => SubmitBillingDataRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'SubmitBillingDataRequest' from JSON`, + ); +} diff --git a/src/models/operations/submitinvoice.ts b/src/models/operations/submitinvoice.ts new file mode 100644 index 00000000..42ea213d --- /dev/null +++ b/src/models/operations/submitinvoice.ts @@ -0,0 +1,593 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { remap as remap$ } from "../../lib/primitives.js"; +import { safeParse } from "../../lib/schemas.js"; +import { ClosedEnum } from "../../types/enums.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; + +/** + * Subscription period for this billing cycle. + */ +export type SubmitInvoicePeriod = { + start: Date; + end: Date; +}; + +export type SubmitInvoiceItems = { + /** + * Partner's resource ID. + */ + resourceId?: string | undefined; + /** + * Partner's billing plan ID. + */ + billingPlanId: string; + /** + * Start and end are only needed if different from the period's start/end. + */ + start?: Date | undefined; + /** + * Start and end are only needed if different from the period's start/end. + */ + end?: Date | undefined; + name: string; + details?: string | undefined; + price: string; + quantity: number; + units: string; + total: string; +}; + +export type SubmitInvoiceDiscounts = { + /** + * Partner's resource ID. + */ + resourceId?: string | undefined; + /** + * Partner's billing plan ID. + */ + billingPlanId: string; + /** + * Start and end are only needed if different from the period's start/end. + */ + start?: Date | undefined; + /** + * Start and end are only needed if different from the period's start/end. + */ + end?: Date | undefined; + name: string; + details?: string | undefined; + amount: string; +}; + +export const Result = { + Paid: "paid", + Notpaid: "notpaid", +} as const; +export type Result = ClosedEnum; + +/** + * Test mode + */ +export type Test = { + validate?: boolean | undefined; + result?: Result | undefined; +}; + +export type SubmitInvoiceRequestBody = { + externalId?: string | undefined; + /** + * Invoice date. Must be within the period's start and end. + */ + invoiceDate: Date; + /** + * Additional memo for the invoice. + */ + memo?: string | undefined; + /** + * Subscription period for this billing cycle. + */ + period: SubmitInvoicePeriod; + items: Array; + discounts?: Array | undefined; + /** + * Test mode + */ + test?: Test | undefined; +}; + +export type SubmitInvoiceRequest = { + integrationConfigurationId: string; + requestBody?: SubmitInvoiceRequestBody | undefined; +}; + +export type SubmitInvoiceResponseBody = { + invoiceId?: string | undefined; + test?: boolean | undefined; + validationErrors?: Array | undefined; +}; + +/** @internal */ +export const SubmitInvoicePeriod$inboundSchema: z.ZodType< + SubmitInvoicePeriod, + z.ZodTypeDef, + unknown +> = z.object({ + start: z.string().datetime({ offset: true }).transform(v => new Date(v)), + end: z.string().datetime({ offset: true }).transform(v => new Date(v)), +}); + +/** @internal */ +export type SubmitInvoicePeriod$Outbound = { + start: string; + end: string; +}; + +/** @internal */ +export const SubmitInvoicePeriod$outboundSchema: z.ZodType< + SubmitInvoicePeriod$Outbound, + z.ZodTypeDef, + SubmitInvoicePeriod +> = z.object({ + start: z.date().transform(v => v.toISOString()), + end: z.date().transform(v => v.toISOString()), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace SubmitInvoicePeriod$ { + /** @deprecated use `SubmitInvoicePeriod$inboundSchema` instead. */ + export const inboundSchema = SubmitInvoicePeriod$inboundSchema; + /** @deprecated use `SubmitInvoicePeriod$outboundSchema` instead. */ + export const outboundSchema = SubmitInvoicePeriod$outboundSchema; + /** @deprecated use `SubmitInvoicePeriod$Outbound` instead. */ + export type Outbound = SubmitInvoicePeriod$Outbound; +} + +export function submitInvoicePeriodToJSON( + submitInvoicePeriod: SubmitInvoicePeriod, +): string { + return JSON.stringify( + SubmitInvoicePeriod$outboundSchema.parse(submitInvoicePeriod), + ); +} + +export function submitInvoicePeriodFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => SubmitInvoicePeriod$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'SubmitInvoicePeriod' from JSON`, + ); +} + +/** @internal */ +export const SubmitInvoiceItems$inboundSchema: z.ZodType< + SubmitInvoiceItems, + z.ZodTypeDef, + unknown +> = z.object({ + resourceId: z.string().optional(), + billingPlanId: z.string(), + start: z.string().datetime({ offset: true }).transform(v => new Date(v)) + .optional(), + end: z.string().datetime({ offset: true }).transform(v => new Date(v)) + .optional(), + name: z.string(), + details: z.string().optional(), + price: z.string(), + quantity: z.number(), + units: z.string(), + total: z.string(), +}); + +/** @internal */ +export type SubmitInvoiceItems$Outbound = { + resourceId?: string | undefined; + billingPlanId: string; + start?: string | undefined; + end?: string | undefined; + name: string; + details?: string | undefined; + price: string; + quantity: number; + units: string; + total: string; +}; + +/** @internal */ +export const SubmitInvoiceItems$outboundSchema: z.ZodType< + SubmitInvoiceItems$Outbound, + z.ZodTypeDef, + SubmitInvoiceItems +> = z.object({ + resourceId: z.string().optional(), + billingPlanId: z.string(), + start: z.date().transform(v => v.toISOString()).optional(), + end: z.date().transform(v => v.toISOString()).optional(), + name: z.string(), + details: z.string().optional(), + price: z.string(), + quantity: z.number(), + units: z.string(), + total: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace SubmitInvoiceItems$ { + /** @deprecated use `SubmitInvoiceItems$inboundSchema` instead. */ + export const inboundSchema = SubmitInvoiceItems$inboundSchema; + /** @deprecated use `SubmitInvoiceItems$outboundSchema` instead. */ + export const outboundSchema = SubmitInvoiceItems$outboundSchema; + /** @deprecated use `SubmitInvoiceItems$Outbound` instead. */ + export type Outbound = SubmitInvoiceItems$Outbound; +} + +export function submitInvoiceItemsToJSON( + submitInvoiceItems: SubmitInvoiceItems, +): string { + return JSON.stringify( + SubmitInvoiceItems$outboundSchema.parse(submitInvoiceItems), + ); +} + +export function submitInvoiceItemsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => SubmitInvoiceItems$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'SubmitInvoiceItems' from JSON`, + ); +} + +/** @internal */ +export const SubmitInvoiceDiscounts$inboundSchema: z.ZodType< + SubmitInvoiceDiscounts, + z.ZodTypeDef, + unknown +> = z.object({ + resourceId: z.string().optional(), + billingPlanId: z.string(), + start: z.string().datetime({ offset: true }).transform(v => new Date(v)) + .optional(), + end: z.string().datetime({ offset: true }).transform(v => new Date(v)) + .optional(), + name: z.string(), + details: z.string().optional(), + amount: z.string(), +}); + +/** @internal */ +export type SubmitInvoiceDiscounts$Outbound = { + resourceId?: string | undefined; + billingPlanId: string; + start?: string | undefined; + end?: string | undefined; + name: string; + details?: string | undefined; + amount: string; +}; + +/** @internal */ +export const SubmitInvoiceDiscounts$outboundSchema: z.ZodType< + SubmitInvoiceDiscounts$Outbound, + z.ZodTypeDef, + SubmitInvoiceDiscounts +> = z.object({ + resourceId: z.string().optional(), + billingPlanId: z.string(), + start: z.date().transform(v => v.toISOString()).optional(), + end: z.date().transform(v => v.toISOString()).optional(), + name: z.string(), + details: z.string().optional(), + amount: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace SubmitInvoiceDiscounts$ { + /** @deprecated use `SubmitInvoiceDiscounts$inboundSchema` instead. */ + export const inboundSchema = SubmitInvoiceDiscounts$inboundSchema; + /** @deprecated use `SubmitInvoiceDiscounts$outboundSchema` instead. */ + export const outboundSchema = SubmitInvoiceDiscounts$outboundSchema; + /** @deprecated use `SubmitInvoiceDiscounts$Outbound` instead. */ + export type Outbound = SubmitInvoiceDiscounts$Outbound; +} + +export function submitInvoiceDiscountsToJSON( + submitInvoiceDiscounts: SubmitInvoiceDiscounts, +): string { + return JSON.stringify( + SubmitInvoiceDiscounts$outboundSchema.parse(submitInvoiceDiscounts), + ); +} + +export function submitInvoiceDiscountsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => SubmitInvoiceDiscounts$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'SubmitInvoiceDiscounts' from JSON`, + ); +} + +/** @internal */ +export const Result$inboundSchema: z.ZodNativeEnum = z + .nativeEnum(Result); + +/** @internal */ +export const Result$outboundSchema: z.ZodNativeEnum = + Result$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Result$ { + /** @deprecated use `Result$inboundSchema` instead. */ + export const inboundSchema = Result$inboundSchema; + /** @deprecated use `Result$outboundSchema` instead. */ + export const outboundSchema = Result$outboundSchema; +} + +/** @internal */ +export const Test$inboundSchema: z.ZodType = z + .object({ + validate: z.boolean().optional(), + result: Result$inboundSchema.optional(), + }); + +/** @internal */ +export type Test$Outbound = { + validate?: boolean | undefined; + result?: string | undefined; +}; + +/** @internal */ +export const Test$outboundSchema: z.ZodType = + z.object({ + validate: z.boolean().optional(), + result: Result$outboundSchema.optional(), + }); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Test$ { + /** @deprecated use `Test$inboundSchema` instead. */ + export const inboundSchema = Test$inboundSchema; + /** @deprecated use `Test$outboundSchema` instead. */ + export const outboundSchema = Test$outboundSchema; + /** @deprecated use `Test$Outbound` instead. */ + export type Outbound = Test$Outbound; +} + +export function testToJSON(test: Test): string { + return JSON.stringify(Test$outboundSchema.parse(test)); +} + +export function testFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Test$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Test' from JSON`, + ); +} + +/** @internal */ +export const SubmitInvoiceRequestBody$inboundSchema: z.ZodType< + SubmitInvoiceRequestBody, + z.ZodTypeDef, + unknown +> = z.object({ + externalId: z.string().optional(), + invoiceDate: z.string().datetime({ offset: true }).transform(v => + new Date(v) + ), + memo: z.string().optional(), + period: z.lazy(() => SubmitInvoicePeriod$inboundSchema), + items: z.array(z.lazy(() => SubmitInvoiceItems$inboundSchema)), + discounts: z.array(z.lazy(() => SubmitInvoiceDiscounts$inboundSchema)) + .optional(), + test: z.lazy(() => Test$inboundSchema).optional(), +}); + +/** @internal */ +export type SubmitInvoiceRequestBody$Outbound = { + externalId?: string | undefined; + invoiceDate: string; + memo?: string | undefined; + period: SubmitInvoicePeriod$Outbound; + items: Array; + discounts?: Array | undefined; + test?: Test$Outbound | undefined; +}; + +/** @internal */ +export const SubmitInvoiceRequestBody$outboundSchema: z.ZodType< + SubmitInvoiceRequestBody$Outbound, + z.ZodTypeDef, + SubmitInvoiceRequestBody +> = z.object({ + externalId: z.string().optional(), + invoiceDate: z.date().transform(v => v.toISOString()), + memo: z.string().optional(), + period: z.lazy(() => SubmitInvoicePeriod$outboundSchema), + items: z.array(z.lazy(() => SubmitInvoiceItems$outboundSchema)), + discounts: z.array(z.lazy(() => SubmitInvoiceDiscounts$outboundSchema)) + .optional(), + test: z.lazy(() => Test$outboundSchema).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace SubmitInvoiceRequestBody$ { + /** @deprecated use `SubmitInvoiceRequestBody$inboundSchema` instead. */ + export const inboundSchema = SubmitInvoiceRequestBody$inboundSchema; + /** @deprecated use `SubmitInvoiceRequestBody$outboundSchema` instead. */ + export const outboundSchema = SubmitInvoiceRequestBody$outboundSchema; + /** @deprecated use `SubmitInvoiceRequestBody$Outbound` instead. */ + export type Outbound = SubmitInvoiceRequestBody$Outbound; +} + +export function submitInvoiceRequestBodyToJSON( + submitInvoiceRequestBody: SubmitInvoiceRequestBody, +): string { + return JSON.stringify( + SubmitInvoiceRequestBody$outboundSchema.parse(submitInvoiceRequestBody), + ); +} + +export function submitInvoiceRequestBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => SubmitInvoiceRequestBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'SubmitInvoiceRequestBody' from JSON`, + ); +} + +/** @internal */ +export const SubmitInvoiceRequest$inboundSchema: z.ZodType< + SubmitInvoiceRequest, + z.ZodTypeDef, + unknown +> = z.object({ + integrationConfigurationId: z.string(), + RequestBody: z.lazy(() => SubmitInvoiceRequestBody$inboundSchema).optional(), +}).transform((v) => { + return remap$(v, { + "RequestBody": "requestBody", + }); +}); + +/** @internal */ +export type SubmitInvoiceRequest$Outbound = { + integrationConfigurationId: string; + RequestBody?: SubmitInvoiceRequestBody$Outbound | undefined; +}; + +/** @internal */ +export const SubmitInvoiceRequest$outboundSchema: z.ZodType< + SubmitInvoiceRequest$Outbound, + z.ZodTypeDef, + SubmitInvoiceRequest +> = z.object({ + integrationConfigurationId: z.string(), + requestBody: z.lazy(() => SubmitInvoiceRequestBody$outboundSchema).optional(), +}).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace SubmitInvoiceRequest$ { + /** @deprecated use `SubmitInvoiceRequest$inboundSchema` instead. */ + export const inboundSchema = SubmitInvoiceRequest$inboundSchema; + /** @deprecated use `SubmitInvoiceRequest$outboundSchema` instead. */ + export const outboundSchema = SubmitInvoiceRequest$outboundSchema; + /** @deprecated use `SubmitInvoiceRequest$Outbound` instead. */ + export type Outbound = SubmitInvoiceRequest$Outbound; +} + +export function submitInvoiceRequestToJSON( + submitInvoiceRequest: SubmitInvoiceRequest, +): string { + return JSON.stringify( + SubmitInvoiceRequest$outboundSchema.parse(submitInvoiceRequest), + ); +} + +export function submitInvoiceRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => SubmitInvoiceRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'SubmitInvoiceRequest' from JSON`, + ); +} + +/** @internal */ +export const SubmitInvoiceResponseBody$inboundSchema: z.ZodType< + SubmitInvoiceResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + invoiceId: z.string().optional(), + test: z.boolean().optional(), + validationErrors: z.array(z.string()).optional(), +}); + +/** @internal */ +export type SubmitInvoiceResponseBody$Outbound = { + invoiceId?: string | undefined; + test?: boolean | undefined; + validationErrors?: Array | undefined; +}; + +/** @internal */ +export const SubmitInvoiceResponseBody$outboundSchema: z.ZodType< + SubmitInvoiceResponseBody$Outbound, + z.ZodTypeDef, + SubmitInvoiceResponseBody +> = z.object({ + invoiceId: z.string().optional(), + test: z.boolean().optional(), + validationErrors: z.array(z.string()).optional(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace SubmitInvoiceResponseBody$ { + /** @deprecated use `SubmitInvoiceResponseBody$inboundSchema` instead. */ + export const inboundSchema = SubmitInvoiceResponseBody$inboundSchema; + /** @deprecated use `SubmitInvoiceResponseBody$outboundSchema` instead. */ + export const outboundSchema = SubmitInvoiceResponseBody$outboundSchema; + /** @deprecated use `SubmitInvoiceResponseBody$Outbound` instead. */ + export type Outbound = SubmitInvoiceResponseBody$Outbound; +} + +export function submitInvoiceResponseBodyToJSON( + submitInvoiceResponseBody: SubmitInvoiceResponseBody, +): string { + return JSON.stringify( + SubmitInvoiceResponseBody$outboundSchema.parse(submitInvoiceResponseBody), + ); +} + +export function submitInvoiceResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => SubmitInvoiceResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'SubmitInvoiceResponseBody' from JSON`, + ); +} diff --git a/src/models/operations/updateinvoice.ts b/src/models/operations/updateinvoice.ts new file mode 100644 index 00000000..98d07e15 --- /dev/null +++ b/src/models/operations/updateinvoice.ts @@ -0,0 +1,180 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { remap as remap$ } from "../../lib/primitives.js"; +import { safeParse } from "../../lib/schemas.js"; +import { ClosedEnum } from "../../types/enums.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; + +export const Action = { + Refund: "refund", +} as const; +export type Action = ClosedEnum; + +export type UpdateInvoiceRequestBody = { + action: Action; + /** + * Refund reason. + */ + reason: string; + /** + * The total amount to be refunded. Must be less than or equal to the total amount of the invoice. + */ + total: string; +}; + +export type UpdateInvoiceRequest = { + integrationConfigurationId: string; + invoiceId: string; + requestBody?: UpdateInvoiceRequestBody | undefined; +}; + +/** @internal */ +export const Action$inboundSchema: z.ZodNativeEnum = z + .nativeEnum(Action); + +/** @internal */ +export const Action$outboundSchema: z.ZodNativeEnum = + Action$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Action$ { + /** @deprecated use `Action$inboundSchema` instead. */ + export const inboundSchema = Action$inboundSchema; + /** @deprecated use `Action$outboundSchema` instead. */ + export const outboundSchema = Action$outboundSchema; +} + +/** @internal */ +export const UpdateInvoiceRequestBody$inboundSchema: z.ZodType< + UpdateInvoiceRequestBody, + z.ZodTypeDef, + unknown +> = z.object({ + action: Action$inboundSchema, + reason: z.string(), + total: z.string(), +}); + +/** @internal */ +export type UpdateInvoiceRequestBody$Outbound = { + action: string; + reason: string; + total: string; +}; + +/** @internal */ +export const UpdateInvoiceRequestBody$outboundSchema: z.ZodType< + UpdateInvoiceRequestBody$Outbound, + z.ZodTypeDef, + UpdateInvoiceRequestBody +> = z.object({ + action: Action$outboundSchema, + reason: z.string(), + total: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateInvoiceRequestBody$ { + /** @deprecated use `UpdateInvoiceRequestBody$inboundSchema` instead. */ + export const inboundSchema = UpdateInvoiceRequestBody$inboundSchema; + /** @deprecated use `UpdateInvoiceRequestBody$outboundSchema` instead. */ + export const outboundSchema = UpdateInvoiceRequestBody$outboundSchema; + /** @deprecated use `UpdateInvoiceRequestBody$Outbound` instead. */ + export type Outbound = UpdateInvoiceRequestBody$Outbound; +} + +export function updateInvoiceRequestBodyToJSON( + updateInvoiceRequestBody: UpdateInvoiceRequestBody, +): string { + return JSON.stringify( + UpdateInvoiceRequestBody$outboundSchema.parse(updateInvoiceRequestBody), + ); +} + +export function updateInvoiceRequestBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateInvoiceRequestBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateInvoiceRequestBody' from JSON`, + ); +} + +/** @internal */ +export const UpdateInvoiceRequest$inboundSchema: z.ZodType< + UpdateInvoiceRequest, + z.ZodTypeDef, + unknown +> = z.object({ + integrationConfigurationId: z.string(), + invoiceId: z.string(), + RequestBody: z.lazy(() => UpdateInvoiceRequestBody$inboundSchema).optional(), +}).transform((v) => { + return remap$(v, { + "RequestBody": "requestBody", + }); +}); + +/** @internal */ +export type UpdateInvoiceRequest$Outbound = { + integrationConfigurationId: string; + invoiceId: string; + RequestBody?: UpdateInvoiceRequestBody$Outbound | undefined; +}; + +/** @internal */ +export const UpdateInvoiceRequest$outboundSchema: z.ZodType< + UpdateInvoiceRequest$Outbound, + z.ZodTypeDef, + UpdateInvoiceRequest +> = z.object({ + integrationConfigurationId: z.string(), + invoiceId: z.string(), + requestBody: z.lazy(() => UpdateInvoiceRequestBody$outboundSchema).optional(), +}).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateInvoiceRequest$ { + /** @deprecated use `UpdateInvoiceRequest$inboundSchema` instead. */ + export const inboundSchema = UpdateInvoiceRequest$inboundSchema; + /** @deprecated use `UpdateInvoiceRequest$outboundSchema` instead. */ + export const outboundSchema = UpdateInvoiceRequest$outboundSchema; + /** @deprecated use `UpdateInvoiceRequest$Outbound` instead. */ + export type Outbound = UpdateInvoiceRequest$Outbound; +} + +export function updateInvoiceRequestToJSON( + updateInvoiceRequest: UpdateInvoiceRequest, +): string { + return JSON.stringify( + UpdateInvoiceRequest$outboundSchema.parse(updateInvoiceRequest), + ); +} + +export function updateInvoiceRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateInvoiceRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateInvoiceRequest' from JSON`, + ); +} diff --git a/src/models/operations/updateproject.ts b/src/models/operations/updateproject.ts index 9eddd876..b28fe4fb 100644 --- a/src/models/operations/updateproject.ts +++ b/src/models/operations/updateproject.ts @@ -1338,6 +1338,7 @@ export type UpdateProjectPermissions = { notificationCustomerBudget?: Array | undefined; notificationStatementOfReasons?: Array | undefined; oauth2Connection?: Array | undefined; + observabilityConfiguration?: Array | undefined; openTelemetryEndpoint?: Array | undefined; paymentMethod?: Array | undefined; permissions?: Array | undefined; @@ -1412,6 +1413,7 @@ export type UpdateProjectPermissions = { passwordProtection?: Array | undefined; optionsAllowlist?: Array | undefined; job?: Array | undefined; + observabilityData?: Array | undefined; project?: Array | undefined; projectFromV0?: Array | undefined; projectAccessGroup?: Array | undefined; @@ -7369,6 +7371,7 @@ export const UpdateProjectPermissions$inboundSchema: z.ZodType< notificationCustomerBudget: z.array(ACLAction$inboundSchema).optional(), notificationStatementOfReasons: z.array(ACLAction$inboundSchema).optional(), oauth2Connection: z.array(ACLAction$inboundSchema).optional(), + observabilityConfiguration: z.array(ACLAction$inboundSchema).optional(), openTelemetryEndpoint: z.array(ACLAction$inboundSchema).optional(), paymentMethod: z.array(ACLAction$inboundSchema).optional(), permissions: z.array(ACLAction$inboundSchema).optional(), @@ -7444,6 +7447,7 @@ export const UpdateProjectPermissions$inboundSchema: z.ZodType< passwordProtection: z.array(ACLAction$inboundSchema).optional(), optionsAllowlist: z.array(ACLAction$inboundSchema).optional(), job: z.array(ACLAction$inboundSchema).optional(), + observabilityData: z.array(ACLAction$inboundSchema).optional(), project: z.array(ACLAction$inboundSchema).optional(), projectFromV0: z.array(ACLAction$inboundSchema).optional(), projectAccessGroup: z.array(ACLAction$inboundSchema).optional(), @@ -7561,6 +7565,7 @@ export type UpdateProjectPermissions$Outbound = { notificationCustomerBudget?: Array | undefined; notificationStatementOfReasons?: Array | undefined; oauth2Connection?: Array | undefined; + observabilityConfiguration?: Array | undefined; openTelemetryEndpoint?: Array | undefined; paymentMethod?: Array | undefined; permissions?: Array | undefined; @@ -7635,6 +7640,7 @@ export type UpdateProjectPermissions$Outbound = { passwordProtection?: Array | undefined; optionsAllowlist?: Array | undefined; job?: Array | undefined; + observabilityData?: Array | undefined; project?: Array | undefined; projectFromV0?: Array | undefined; projectAccessGroup?: Array | undefined; @@ -7753,6 +7759,7 @@ export const UpdateProjectPermissions$outboundSchema: z.ZodType< notificationCustomerBudget: z.array(ACLAction$outboundSchema).optional(), notificationStatementOfReasons: z.array(ACLAction$outboundSchema).optional(), oauth2Connection: z.array(ACLAction$outboundSchema).optional(), + observabilityConfiguration: z.array(ACLAction$outboundSchema).optional(), openTelemetryEndpoint: z.array(ACLAction$outboundSchema).optional(), paymentMethod: z.array(ACLAction$outboundSchema).optional(), permissions: z.array(ACLAction$outboundSchema).optional(), @@ -7828,6 +7835,7 @@ export const UpdateProjectPermissions$outboundSchema: z.ZodType< passwordProtection: z.array(ACLAction$outboundSchema).optional(), optionsAllowlist: z.array(ACLAction$outboundSchema).optional(), job: z.array(ACLAction$outboundSchema).optional(), + observabilityData: z.array(ACLAction$outboundSchema).optional(), project: z.array(ACLAction$outboundSchema).optional(), projectFromV0: z.array(ACLAction$outboundSchema).optional(), projectAccessGroup: z.array(ACLAction$outboundSchema).optional(), diff --git a/src/models/operations/updateprojectdatacache.ts b/src/models/operations/updateprojectdatacache.ts index 64740aa0..fcb12869 100644 --- a/src/models/operations/updateprojectdatacache.ts +++ b/src/models/operations/updateprojectdatacache.ts @@ -1028,6 +1028,7 @@ export type Permissions = { notificationCustomerBudget?: Array | undefined; notificationStatementOfReasons?: Array | undefined; oauth2Connection?: Array | undefined; + observabilityConfiguration?: Array | undefined; openTelemetryEndpoint?: Array | undefined; paymentMethod?: Array | undefined; permissions?: Array | undefined; @@ -1102,6 +1103,7 @@ export type Permissions = { passwordProtection?: Array | undefined; optionsAllowlist?: Array | undefined; job?: Array | undefined; + observabilityData?: Array | undefined; project?: Array | undefined; projectFromV0?: Array | undefined; projectAccessGroup?: Array | undefined; @@ -6361,6 +6363,7 @@ export const Permissions$inboundSchema: z.ZodType< notificationCustomerBudget: z.array(ACLAction$inboundSchema).optional(), notificationStatementOfReasons: z.array(ACLAction$inboundSchema).optional(), oauth2Connection: z.array(ACLAction$inboundSchema).optional(), + observabilityConfiguration: z.array(ACLAction$inboundSchema).optional(), openTelemetryEndpoint: z.array(ACLAction$inboundSchema).optional(), paymentMethod: z.array(ACLAction$inboundSchema).optional(), permissions: z.array(ACLAction$inboundSchema).optional(), @@ -6436,6 +6439,7 @@ export const Permissions$inboundSchema: z.ZodType< passwordProtection: z.array(ACLAction$inboundSchema).optional(), optionsAllowlist: z.array(ACLAction$inboundSchema).optional(), job: z.array(ACLAction$inboundSchema).optional(), + observabilityData: z.array(ACLAction$inboundSchema).optional(), project: z.array(ACLAction$inboundSchema).optional(), projectFromV0: z.array(ACLAction$inboundSchema).optional(), projectAccessGroup: z.array(ACLAction$inboundSchema).optional(), @@ -6553,6 +6557,7 @@ export type Permissions$Outbound = { notificationCustomerBudget?: Array | undefined; notificationStatementOfReasons?: Array | undefined; oauth2Connection?: Array | undefined; + observabilityConfiguration?: Array | undefined; openTelemetryEndpoint?: Array | undefined; paymentMethod?: Array | undefined; permissions?: Array | undefined; @@ -6627,6 +6632,7 @@ export type Permissions$Outbound = { passwordProtection?: Array | undefined; optionsAllowlist?: Array | undefined; job?: Array | undefined; + observabilityData?: Array | undefined; project?: Array | undefined; projectFromV0?: Array | undefined; projectAccessGroup?: Array | undefined; @@ -6745,6 +6751,7 @@ export const Permissions$outboundSchema: z.ZodType< notificationCustomerBudget: z.array(ACLAction$outboundSchema).optional(), notificationStatementOfReasons: z.array(ACLAction$outboundSchema).optional(), oauth2Connection: z.array(ACLAction$outboundSchema).optional(), + observabilityConfiguration: z.array(ACLAction$outboundSchema).optional(), openTelemetryEndpoint: z.array(ACLAction$outboundSchema).optional(), paymentMethod: z.array(ACLAction$outboundSchema).optional(), permissions: z.array(ACLAction$outboundSchema).optional(), @@ -6820,6 +6827,7 @@ export const Permissions$outboundSchema: z.ZodType< passwordProtection: z.array(ACLAction$outboundSchema).optional(), optionsAllowlist: z.array(ACLAction$outboundSchema).optional(), job: z.array(ACLAction$outboundSchema).optional(), + observabilityData: z.array(ACLAction$outboundSchema).optional(), project: z.array(ACLAction$outboundSchema).optional(), projectFromV0: z.array(ACLAction$outboundSchema).optional(), projectAccessGroup: z.array(ACLAction$outboundSchema).optional(), diff --git a/src/models/operations/updateresourcesecrets.ts b/src/models/operations/updateresourcesecrets.ts new file mode 100644 index 00000000..5683d36e --- /dev/null +++ b/src/models/operations/updateresourcesecrets.ts @@ -0,0 +1,206 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod"; +import { remap as remap$ } from "../../lib/primitives.js"; +import { safeParse } from "../../lib/schemas.js"; +import { Result as SafeParseResult } from "../../types/fp.js"; +import { SDKValidationError } from "../errors/sdkvalidationerror.js"; + +export type Secrets = { + name: string; + value: string; +}; + +export type UpdateResourceSecretsRequestBody = { + secrets: Array; +}; + +export type UpdateResourceSecretsRequest = { + integrationConfigurationId: string; + integrationProductIdOrSlug: string; + resourceId: string; + requestBody?: UpdateResourceSecretsRequestBody | undefined; +}; + +/** @internal */ +export const Secrets$inboundSchema: z.ZodType = + z.object({ + name: z.string(), + value: z.string(), + }); + +/** @internal */ +export type Secrets$Outbound = { + name: string; + value: string; +}; + +/** @internal */ +export const Secrets$outboundSchema: z.ZodType< + Secrets$Outbound, + z.ZodTypeDef, + Secrets +> = z.object({ + name: z.string(), + value: z.string(), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace Secrets$ { + /** @deprecated use `Secrets$inboundSchema` instead. */ + export const inboundSchema = Secrets$inboundSchema; + /** @deprecated use `Secrets$outboundSchema` instead. */ + export const outboundSchema = Secrets$outboundSchema; + /** @deprecated use `Secrets$Outbound` instead. */ + export type Outbound = Secrets$Outbound; +} + +export function secretsToJSON(secrets: Secrets): string { + return JSON.stringify(Secrets$outboundSchema.parse(secrets)); +} + +export function secretsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Secrets$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Secrets' from JSON`, + ); +} + +/** @internal */ +export const UpdateResourceSecretsRequestBody$inboundSchema: z.ZodType< + UpdateResourceSecretsRequestBody, + z.ZodTypeDef, + unknown +> = z.object({ + secrets: z.array(z.lazy(() => Secrets$inboundSchema)), +}); + +/** @internal */ +export type UpdateResourceSecretsRequestBody$Outbound = { + secrets: Array; +}; + +/** @internal */ +export const UpdateResourceSecretsRequestBody$outboundSchema: z.ZodType< + UpdateResourceSecretsRequestBody$Outbound, + z.ZodTypeDef, + UpdateResourceSecretsRequestBody +> = z.object({ + secrets: z.array(z.lazy(() => Secrets$outboundSchema)), +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateResourceSecretsRequestBody$ { + /** @deprecated use `UpdateResourceSecretsRequestBody$inboundSchema` instead. */ + export const inboundSchema = UpdateResourceSecretsRequestBody$inboundSchema; + /** @deprecated use `UpdateResourceSecretsRequestBody$outboundSchema` instead. */ + export const outboundSchema = UpdateResourceSecretsRequestBody$outboundSchema; + /** @deprecated use `UpdateResourceSecretsRequestBody$Outbound` instead. */ + export type Outbound = UpdateResourceSecretsRequestBody$Outbound; +} + +export function updateResourceSecretsRequestBodyToJSON( + updateResourceSecretsRequestBody: UpdateResourceSecretsRequestBody, +): string { + return JSON.stringify( + UpdateResourceSecretsRequestBody$outboundSchema.parse( + updateResourceSecretsRequestBody, + ), + ); +} + +export function updateResourceSecretsRequestBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateResourceSecretsRequestBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateResourceSecretsRequestBody' from JSON`, + ); +} + +/** @internal */ +export const UpdateResourceSecretsRequest$inboundSchema: z.ZodType< + UpdateResourceSecretsRequest, + z.ZodTypeDef, + unknown +> = z.object({ + integrationConfigurationId: z.string(), + integrationProductIdOrSlug: z.string(), + resourceId: z.string(), + RequestBody: z.lazy(() => UpdateResourceSecretsRequestBody$inboundSchema) + .optional(), +}).transform((v) => { + return remap$(v, { + "RequestBody": "requestBody", + }); +}); + +/** @internal */ +export type UpdateResourceSecretsRequest$Outbound = { + integrationConfigurationId: string; + integrationProductIdOrSlug: string; + resourceId: string; + RequestBody?: UpdateResourceSecretsRequestBody$Outbound | undefined; +}; + +/** @internal */ +export const UpdateResourceSecretsRequest$outboundSchema: z.ZodType< + UpdateResourceSecretsRequest$Outbound, + z.ZodTypeDef, + UpdateResourceSecretsRequest +> = z.object({ + integrationConfigurationId: z.string(), + integrationProductIdOrSlug: z.string(), + resourceId: z.string(), + requestBody: z.lazy(() => UpdateResourceSecretsRequestBody$outboundSchema) + .optional(), +}).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); +}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace UpdateResourceSecretsRequest$ { + /** @deprecated use `UpdateResourceSecretsRequest$inboundSchema` instead. */ + export const inboundSchema = UpdateResourceSecretsRequest$inboundSchema; + /** @deprecated use `UpdateResourceSecretsRequest$outboundSchema` instead. */ + export const outboundSchema = UpdateResourceSecretsRequest$outboundSchema; + /** @deprecated use `UpdateResourceSecretsRequest$Outbound` instead. */ + export type Outbound = UpdateResourceSecretsRequest$Outbound; +} + +export function updateResourceSecretsRequestToJSON( + updateResourceSecretsRequest: UpdateResourceSecretsRequest, +): string { + return JSON.stringify( + UpdateResourceSecretsRequest$outboundSchema.parse( + updateResourceSecretsRequest, + ), + ); +} + +export function updateResourceSecretsRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateResourceSecretsRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateResourceSecretsRequest' from JSON`, + ); +} diff --git a/src/sdk/authentication.ts b/src/sdk/authentication.ts index 2802428a..eaf2eee4 100644 --- a/src/sdk/authentication.ts +++ b/src/sdk/authentication.ts @@ -4,6 +4,7 @@ import { authenticationCreateAuthToken } from "../funcs/authenticationCreateAuthToken.js"; import { authenticationDeleteAuthToken } from "../funcs/authenticationDeleteAuthToken.js"; +import { authenticationExchangeSsoToken } from "../funcs/authenticationExchangeSsoToken.js"; import { authenticationGetAuthToken } from "../funcs/authenticationGetAuthToken.js"; import { authenticationListAuthTokens } from "../funcs/authenticationListAuthTokens.js"; import { ClientSDK, RequestOptions } from "../lib/sdks.js"; @@ -15,6 +16,10 @@ import { DeleteAuthTokenRequest, DeleteAuthTokenResponseBody, } from "../models/operations/deleteauthtoken.js"; +import { + ExchangeSsoTokenRequestBody, + ExchangeSsoTokenResponseBody, +} from "../models/operations/exchangessotoken.js"; import { GetAuthTokenRequest, GetAuthTokenResponseBody, @@ -23,6 +28,23 @@ import { ListAuthTokensResponseBody } from "../models/operations/listauthtokens. import { unwrapAsync } from "../types/fp.js"; export class Authentication extends ClientSDK { + /** + * SSO Token Exchange + * + * @remarks + * During the autorization process, Vercel sends the user to the provider [redirectLoginUrl](https://vercel.com/docs/integrations/create-integration/submit-integration#redirect-login-url), that includes the OAuth authorization `code` parameter. The provider then calls the SSO Token Exchange endpoint with the sent code and receives the OIDC token. They log the user in based on this token and redirects the user back to the Vercel account using deep-link parameters included the redirectLoginUrl. This is used to verify the identity of the user during the [**Open in Provider** flow](https://vercel.com/docs/integrations/marketplace-flows#open-in-provider-button-flow). Providers should not persist the returned `id_token` in a database since the token will expire. + */ + async exchangeSsoToken( + request?: ExchangeSsoTokenRequestBody | undefined, + options?: RequestOptions, + ): Promise { + return unwrapAsync(authenticationExchangeSsoToken( + this, + request, + options, + )); + } + /** * List Auth Tokens * diff --git a/src/sdk/marketplace.ts b/src/sdk/marketplace.ts new file mode 100644 index 00000000..6ad5ab7d --- /dev/null +++ b/src/sdk/marketplace.ts @@ -0,0 +1,194 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { marketplaceCreateEvent } from "../funcs/marketplaceCreateEvent.js"; +import { marketplaceExchangeSsoToken } from "../funcs/marketplaceExchangeSsoToken.js"; +import { marketplaceGetAccountInfo } from "../funcs/marketplaceGetAccountInfo.js"; +import { marketplaceGetInvoice } from "../funcs/marketplaceGetInvoice.js"; +import { marketplaceGetMember } from "../funcs/marketplaceGetMember.js"; +import { marketplaceSubmitBillingData } from "../funcs/marketplaceSubmitBillingData.js"; +import { marketplaceSubmitInvoice } from "../funcs/marketplaceSubmitInvoice.js"; +import { marketplaceUpdateInvoice } from "../funcs/marketplaceUpdateInvoice.js"; +import { marketplaceUpdateResourceSecrets } from "../funcs/marketplaceUpdateResourceSecrets.js"; +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import { CreateEventRequest } from "../models/operations/createevent.js"; +import { + ExchangeSsoTokenRequestBody, + ExchangeSsoTokenResponseBody, +} from "../models/operations/exchangessotoken.js"; +import { + GetAccountInfoRequest, + GetAccountInfoResponseBody, +} from "../models/operations/getaccountinfo.js"; +import { + GetInvoiceRequest, + GetInvoiceResponseBody, +} from "../models/operations/getinvoice.js"; +import { + GetMemberRequest, + GetMemberResponseBody, +} from "../models/operations/getmember.js"; +import { SubmitBillingDataRequest } from "../models/operations/submitbillingdata.js"; +import { + SubmitInvoiceRequest, + SubmitInvoiceResponseBody, +} from "../models/operations/submitinvoice.js"; +import { UpdateInvoiceRequest } from "../models/operations/updateinvoice.js"; +import { UpdateResourceSecretsRequest } from "../models/operations/updateresourcesecrets.js"; +import { unwrapAsync } from "../types/fp.js"; + +export class Marketplace extends ClientSDK { + /** + * Get Account Information + * + * @remarks + * Fetches the best account or user’s contact info + */ + async getAccountInfo( + request: GetAccountInfoRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(marketplaceGetAccountInfo( + this, + request, + options, + )); + } + + /** + * Get Member Information + * + * @remarks + * Returns the member role and other information for a given member ID ("user_id" claim in the SSO OIDC token). + */ + async getMember( + request: GetMemberRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(marketplaceGetMember( + this, + request, + options, + )); + } + + /** + * Create Event + * + * @remarks + * 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.

`resource.updated` event should be dispatched when any state of a resource linked to Vercel is modified by the partner.

Use cases:

- 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.
+ */ + async createEvent( + request: CreateEventRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(marketplaceCreateEvent( + this, + request, + options, + )); + } + + /** + * Submit Billing Data + * + * @remarks + * Sends the billing and usage data. The partner should do this at least once a day and ideally once per hour. + */ + async submitBillingData( + request: SubmitBillingDataRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(marketplaceSubmitBillingData( + this, + request, + options, + )); + } + + /** + * Submit Invoice + * + * @remarks + * This endpoint allows the partner to submit an invoice to Vercel. The invoice is created in Vercel's billing system and sent to the customer. Depending on the type of billing plan, the invoice can be sent at a time of signup, at the start of the billing period, or at the end of the billing period.

There are several limitations to the invoice submission:

1. A resource can only be billed once per the billing period and the billing plan.
2. The billing plan used to bill the resource must have been active for this resource during the billing period.
3. The billing plan used must be a subscription plan.
4. The interim usage data must be sent hourly for all types of subscriptions. See [Send subscription billing and usage data](#send-subscription-billing-and-usage-data) API on how to send interim billing and usage data.
+ */ + async submitInvoice( + request: SubmitInvoiceRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(marketplaceSubmitInvoice( + this, + request, + options, + )); + } + + /** + * Get Invoice + * + * @remarks + * Get Invoice details and status for a given invoice ID.

See Billing Events with Webhooks documentation on how to receive invoice events. This endpoint is used to retrieve the invoice details. + */ + async getInvoice( + request: GetInvoiceRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(marketplaceGetInvoice( + this, + request, + options, + )); + } + + /** + * Invoice Actions + * + * @remarks + * This endpoint allows the partner to request a refund for an invoice to Vercel. The invoice is created using the [Submit Invoice API](#submit-invoice-api). + */ + async updateInvoice( + request: UpdateInvoiceRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(marketplaceUpdateInvoice( + this, + request, + options, + )); + } + + /** + * Update Resource Secrets + * + * @remarks + * This endpoint updates the secrets of a resource. If a resource has projects connected, the connected secrets are updated with the new secrets. The old secrets may still be used by existing connected projects because they are not automatically redeployed. Redeployment is a manual action and must be completed by the user. All new project connections will use the new secrets.

Use cases for this endpoint:

- Resetting the credentials of a database in the partner. If the user requests the credentials to be updated in the partner’s application, the partner post the new set of secrets to Vercel, the user should redeploy their application and the expire the old credentials.
+ */ + async updateResourceSecrets( + request: UpdateResourceSecretsRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(marketplaceUpdateResourceSecrets( + this, + request, + options, + )); + } + + /** + * SSO Token Exchange + * + * @remarks + * During the autorization process, Vercel sends the user to the provider [redirectLoginUrl](https://vercel.com/docs/integrations/create-integration/submit-integration#redirect-login-url), that includes the OAuth authorization `code` parameter. The provider then calls the SSO Token Exchange endpoint with the sent code and receives the OIDC token. They log the user in based on this token and redirects the user back to the Vercel account using deep-link parameters included the redirectLoginUrl. This is used to verify the identity of the user during the [**Open in Provider** flow](https://vercel.com/docs/integrations/marketplace-flows#open-in-provider-button-flow). Providers should not persist the returned `id_token` in a database since the token will expire. + */ + async exchangeSsoToken( + request?: ExchangeSsoTokenRequestBody | undefined, + options?: RequestOptions, + ): Promise { + return unwrapAsync(marketplaceExchangeSsoToken( + this, + request, + options, + )); + } +} diff --git a/src/sdk/projects.ts b/src/sdk/projects.ts index 1aca6892..fc55fd90 100644 --- a/src/sdk/projects.ts +++ b/src/sdk/projects.ts @@ -9,6 +9,7 @@ import { projectsDeleteProject } from "../funcs/projectsDeleteProject.js"; import { projectsEditProjectEnv } from "../funcs/projectsEditProjectEnv.js"; import { projectsFilterProjectEnvs } from "../funcs/projectsFilterProjectEnvs.js"; import { projectsGetProjectDomain } from "../funcs/projectsGetProjectDomain.js"; +import { projectsGetProjectDomains } from "../funcs/projectsGetProjectDomains.js"; import { projectsGetProjectEnv } from "../funcs/projectsGetProjectEnv.js"; import { projectsGetProjects } from "../funcs/projectsGetProjects.js"; import { projectsListPromoteAliases } from "../funcs/projectsListPromoteAliases.js"; @@ -46,6 +47,10 @@ import { GetProjectDomainRequest, GetProjectDomainResponseBody, } from "../models/operations/getprojectdomain.js"; +import { + GetProjectDomainsRequest, + GetProjectDomainsResponseBody, +} from "../models/operations/getprojectdomains.js"; import { GetProjectEnvRequest, GetProjectEnvResponseBody, @@ -175,6 +180,23 @@ export class Projects extends ClientSDK { )); } + /** + * Retrieve project domains by project by id or name + * + * @remarks + * Retrieve the domains associated with a given project by passing either the project `id` or `name` in the URL. + */ + async getProjectDomains( + request: GetProjectDomainsRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(projectsGetProjectDomains( + this, + request, + options, + )); + } + /** * Get a project domain * diff --git a/src/sdk/sdk.ts b/src/sdk/sdk.ts index 1e36ff49..9a2ab7fa 100644 --- a/src/sdk/sdk.ts +++ b/src/sdk/sdk.ts @@ -15,6 +15,7 @@ import { Domains } from "./domains.js"; import { EdgeConfig } from "./edgeconfig.js"; import { Integrations } from "./integrations.js"; import { LogDrains } from "./logdrains.js"; +import { Marketplace } from "./marketplace.js"; import { ProjectMembers } from "./projectmembers.js"; import { Projects } from "./projects.js"; import { Security } from "./security.js"; @@ -68,11 +69,21 @@ export class Vercel extends ClientSDK { return (this._user ??= new User(this._options)); } + private _marketplace?: Marketplace; + get marketplace(): Marketplace { + return (this._marketplace ??= new Marketplace(this._options)); + } + private _integrations?: Integrations; get integrations(): Integrations { return (this._integrations ??= new Integrations(this._options)); } + private _authentication?: Authentication; + get authentication(): Authentication { + return (this._authentication ??= new Authentication(this._options)); + } + private _logDrains?: LogDrains; get logDrains(): LogDrains { return (this._logDrains ??= new LogDrains(this._options)); @@ -93,11 +104,6 @@ export class Vercel extends ClientSDK { return (this._teams ??= new Teams(this._options)); } - private _authentication?: Authentication; - get authentication(): Authentication { - return (this._authentication ??= new Authentication(this._options)); - } - private _webhooks?: Webhooks; get webhooks(): Webhooks { return (this._webhooks ??= new Webhooks(this._options)); diff --git a/vercel-spec.json b/vercel-spec.json index 0b8fe51c..3f2c94f7 100644 --- a/vercel-spec.json +++ b/vercel-spec.json @@ -5592,6 +5592,12 @@ }, "type": "array" }, + "observabilityConfiguration": { + "items": { + "$ref": "#/components/schemas/ACLAction" + }, + "type": "array" + }, "openTelemetryEndpoint": { "items": { "$ref": "#/components/schemas/ACLAction" @@ -6036,6 +6042,12 @@ }, "type": "array" }, + "observabilityData": { + "items": { + "$ref": "#/components/schemas/ACLAction" + }, + "type": "array" + }, "project": { "items": { "$ref": "#/components/schemas/ACLAction" @@ -17905,6 +17917,1139 @@ ] } }, + "/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": { + "content": { + "application/json": { + "schema": { + "properties": { + "name": { + "type": "string" + }, + "url": { + "type": "string" + }, + "contact": { + "nullable": true, + "properties": { + "email": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "email" + ], + "type": "object" + } + }, + "required": [ + "url", + "contact" + ], + "type": "object" + } + } + } + }, + "400": { + "description": "One of the provided values in the request query is invalid." + }, + "401": {}, + "403": { + "description": "You do not have permission to access this resource." + } + }, + "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": { + "content": { + "application/json": { + "schema": { + "properties": { + "id": { + "type": "string" + }, + "role": { + "type": "string", + "enum": [ + "ADMIN", + "USER" + ] + } + }, + "required": [ + "id", + "role" + ], + "type": "object" + } + } + } + }, + "400": { + "description": "One of the provided values in the request query is invalid." + }, + "401": {}, + "403": { + "description": "You do not have permission to access this resource." + }, + "404": {} + }, + "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 \u003cbr/\u003e 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", + "operationId": "create-event", + "security": [ + { + "bearerToken": [] + } + ], + "summary": "Create Event", + "tags": [ + "marketplace" + ], + "responses": { + "201": {}, + "400": { + "description": "One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid." + }, + "401": {}, + "403": { + "description": "You do not have permission to access this resource." + } + }, + "parameters": [ + { + "name": "integrationConfigurationId", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "event" + ], + "properties": { + "event": { + "anyOf": [ + { + "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 + } + } + } + } + } + }, + "/v1/installations/{integrationConfigurationId}/billing": { + "post": { + "description": "Sends the billing and usage data. The partner should do this at least once a day and ideally once per hour.", + "operationId": "submit-billing-data", + "security": [ + { + "bearerToken": [] + } + ], + "summary": "Submit Billing Data", + "tags": [ + "marketplace" + ], + "responses": { + "201": {}, + "400": { + "description": "One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid." + }, + "401": {}, + "403": { + "description": "You do not have permission to access this resource." + } + }, + "parameters": [ + { + "name": "integrationConfigurationId", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "timestamp": { + "type": "string", + "format": "date-time" + }, + "eod": { + "type": "string", + "format": "date-time" + }, + "period": { + "type": "object", + "description": "Period for the billing cycle.", + "properties": { + "start": { + "type": "string", + "format": "date-time" + }, + "end": { + "type": "string", + "format": "date-time" + } + }, + "required": [ + "start", + "end" + ], + "additionalProperties": false + }, + "billing": { + "description": "Billing data (interim invoicing data).", + "oneOf": [ + { + "type": "array", + "items": { + "type": "object", + "properties": { + "billingPlanId": { + "type": "string", + "description": "Partner's billing plan ID." + }, + "resourceId": { + "type": "string", + "description": "Partner's resource ID." + }, + "start": { + "description": "Start and end are only needed if different from the period's start/end.", + "type": "string", + "format": "date-time" + }, + "end": { + "description": "Start and end are only needed if different from the period's start/end.", + "type": "string", + "format": "date-time" + }, + "name": { + "type": "string", + "description": "Line item name." + }, + "details": { + "type": "string", + "description": "Line item details." + }, + "price": { + "description": "Price per unit.", + "type": "string", + "pattern": "^[0-9]+(\\\\.[0-9]+)?$" + }, + "quantity": { + "type": "number", + "description": "Quantity of units." + }, + "units": { + "type": "string", + "description": "Units of the quantity." + }, + "total": { + "description": "Total amount.", + "type": "string", + "pattern": "^[0-9]+(\\\\.[0-9]+)?$" + } + }, + "required": [ + "billingPlanId", + "name", + "price", + "quantity", + "units", + "total" + ], + "additionalProperties": false + } + }, + { + "type": "object", + "properties": { + "items": { + "type": "array", + "items": { + "type": "object", + "properties": { + "billingPlanId": { + "type": "string", + "description": "Partner's billing plan ID." + }, + "resourceId": { + "type": "string", + "description": "Partner's resource ID." + }, + "start": { + "description": "Start and end are only needed if different from the period's start/end.", + "type": "string", + "format": "date-time" + }, + "end": { + "description": "Start and end are only needed if different from the period's start/end.", + "type": "string", + "format": "date-time" + }, + "name": { + "type": "string", + "description": "Line item name." + }, + "details": { + "type": "string", + "description": "Line item details." + }, + "price": { + "description": "Price per unit.", + "type": "string", + "pattern": "^[0-9]+(\\\\.[0-9]+)?$" + }, + "quantity": { + "type": "number", + "description": "Quantity of units." + }, + "units": { + "type": "string", + "description": "Units of the quantity." + }, + "total": { + "description": "Total amount.", + "type": "string", + "pattern": "^[0-9]+(\\\\.[0-9]+)?$" + } + }, + "required": [ + "billingPlanId", + "name", + "price", + "quantity", + "units", + "total" + ], + "additionalProperties": false + } + }, + "discounts": { + "type": "array", + "items": { + "type": "object", + "properties": { + "billingPlanId": { + "type": "string", + "description": "Partner's billing plan ID." + }, + "resourceId": { + "type": "string", + "description": "Partner's resource ID." + }, + "start": { + "description": "Start and end are only needed if different from the period's start/end.", + "type": "string", + "format": "date-time" + }, + "end": { + "description": "Start and end are only needed if different from the period's start/end.", + "type": "string", + "format": "date-time" + }, + "name": { + "type": "string", + "description": "Discount name." + }, + "details": { + "type": "string", + "description": "Discount details." + }, + "amount": { + "description": "Discount amount.", + "type": "string", + "pattern": "^[0-9]+(\\\\.[0-9]+)?$" + } + }, + "required": [ + "billingPlanId", + "name", + "amount" + ], + "additionalProperties": false + } + } + }, + "required": [ + "items" + ] + } + ] + }, + "usage": { + "type": "array", + "items": { + "type": "object", + "properties": { + "resourceId": { + "type": "string", + "description": "Partner's resource ID." + }, + "name": { + "type": "string", + "description": "Metric name." + }, + "type": { + "type": "string", + "description": "\\n Type of the metric.\\n - total: measured total value, such as Database size\\n - interval: usage during the period, such as i/o or number of queries.\\n - rate: rate of usage, such as queries per second.\\n ", + "enum": [ + "total", + "interval", + "rate" + ] + }, + "units": { + "type": "string", + "description": "Metric units. Example: \\\"GB\\\"" + }, + "dayValue": { + "type": "number", + "description": "Metric value for the day. Could be a final or an interim value for the day." + }, + "periodValue": { + "type": "number", + "description": "Metric value for the billing period. Could be a final or an interim value for the period." + }, + "planValue": { + "type": "number", + "description": "The limit value of the metric for a billing period, if a limit is defined by the plan." + } + }, + "required": [ + "resourceId", + "name", + "type", + "units", + "dayValue", + "periodValue" + ], + "additionalProperties": false + } + } + }, + "required": [ + "timestamp", + "eod", + "period", + "billing", + "usage" + ], + "additionalProperties": false + } + } + } + } + } + }, + "/v1/installations/{integrationConfigurationId}/billing/invoices": { + "post": { + "description": "This endpoint allows the partner to submit an invoice to Vercel. The invoice is created in Vercel's billing system and sent to the customer. Depending on the type of billing plan, the invoice can be sent at a time of signup, at the start of the billing period, or at the end of the billing period.\u003cbr/\u003e \u003cbr/\u003e There are several limitations to the invoice submission:\u003cbr/\u003e \u003cbr/\u003e 1. A resource can only be billed once per the billing period and the billing plan.\u003cbr/\u003e 2. The billing plan used to bill the resource must have been active for this resource during the billing period.\u003cbr/\u003e 3. The billing plan used must be a subscription plan.\u003cbr/\u003e 4. The interim usage data must be sent hourly for all types of subscriptions. See [Send subscription billing and usage data](#send-subscription-billing-and-usage-data) API on how to send interim billing and usage data.\u003cbr/\u003e", + "operationId": "submit-invoice", + "security": [ + { + "bearerToken": [] + } + ], + "summary": "Submit Invoice", + "tags": [ + "marketplace" + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "properties": { + "invoiceId": { + "type": "string" + }, + "test": { + "type": "boolean" + }, + "validationErrors": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "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." + }, + "401": {}, + "403": { + "description": "You do not have permission to access this resource." + } + }, + "parameters": [ + { + "name": "integrationConfigurationId", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "externalId": { + "type": "string" + }, + "invoiceDate": { + "description": "Invoice date. Must be within the period's start and end.", + "type": "string", + "format": "date-time" + }, + "memo": { + "type": "string", + "description": "Additional memo for the invoice." + }, + "period": { + "type": "object", + "description": "Subscription period for this billing cycle.", + "properties": { + "start": { + "type": "string", + "format": "date-time" + }, + "end": { + "type": "string", + "format": "date-time" + } + }, + "required": [ + "start", + "end" + ], + "additionalProperties": false + }, + "items": { + "type": "array", + "items": { + "type": "object", + "properties": { + "resourceId": { + "type": "string", + "description": "Partner's resource ID." + }, + "billingPlanId": { + "type": "string", + "description": "Partner's billing plan ID." + }, + "start": { + "description": "Start and end are only needed if different from the period's start/end.", + "type": "string", + "format": "date-time" + }, + "end": { + "description": "Start and end are only needed if different from the period's start/end.", + "type": "string", + "format": "date-time" + }, + "name": { + "type": "string" + }, + "details": { + "type": "string" + }, + "price": { + "type": "string", + "pattern": "^[0-9]+(\\\\.[0-9]+)?$" + }, + "quantity": { + "type": "number" + }, + "units": { + "type": "string" + }, + "total": { + "type": "string", + "pattern": "^[0-9]+(\\\\.[0-9]+)?$" + } + }, + "required": [ + "billingPlanId", + "name", + "price", + "quantity", + "units", + "total" + ], + "additionalProperties": false + } + }, + "discounts": { + "type": "array", + "items": { + "type": "object", + "properties": { + "resourceId": { + "type": "string", + "description": "Partner's resource ID." + }, + "billingPlanId": { + "type": "string", + "description": "Partner's billing plan ID." + }, + "start": { + "description": "Start and end are only needed if different from the period's start/end.", + "type": "string", + "format": "date-time" + }, + "end": { + "description": "Start and end are only needed if different from the period's start/end.", + "type": "string", + "format": "date-time" + }, + "name": { + "type": "string" + }, + "details": { + "type": "string" + }, + "amount": { + "type": "string", + "pattern": "^[0-9]+(\\\\.[0-9]+)?$" + } + }, + "required": [ + "billingPlanId", + "name", + "amount" + ], + "additionalProperties": false + } + }, + "test": { + "type": "object", + "description": "Test mode", + "properties": { + "validate": { + "type": "boolean" + }, + "result": { + "type": "string", + "enum": [ + "paid", + "notpaid" + ] + } + }, + "additionalProperties": false + } + }, + "required": [ + "invoiceDate", + "period", + "items" + ], + "additionalProperties": false + } + } + } + } + } + }, + "/v1/installations/{integrationConfigurationId}/billing/invoices/{invoiceId}": { + "get": { + "description": "Get Invoice details and status for a given invoice ID.\u003cbr/\u003e \u003cbr/\u003e See Billing Events with Webhooks documentation on how to receive invoice events. This endpoint is used to retrieve the invoice details.", + "operationId": "get-invoice", + "security": [ + { + "bearerToken": [] + } + ], + "summary": "Get Invoice", + "tags": [ + "marketplace" + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "properties": { + "invoiceId": { + "type": "string" + }, + "externalId": { + "type": "string" + }, + "invoiceNumber": { + "type": "string" + }, + "invoiceDate": { + "type": "string" + }, + "period": { + "properties": { + "start": { + "type": "string" + }, + "end": { + "type": "string" + } + }, + "required": [ + "start", + "end" + ], + "type": "object" + }, + "memo": { + "type": "string" + }, + "items": { + "items": { + "properties": { + "billingPlanId": { + "type": "string" + }, + "resourceId": { + "type": "string" + }, + "start": { + "type": "string" + }, + "end": { + "type": "string" + }, + "name": { + "type": "string" + }, + "details": { + "type": "string" + }, + "price": { + "type": "string" + }, + "quantity": { + "type": "number" + }, + "units": { + "type": "string" + }, + "total": { + "type": "string" + } + }, + "required": [ + "billingPlanId", + "name", + "price", + "quantity", + "units", + "total" + ], + "type": "object" + }, + "type": "array" + }, + "discounts": { + "items": { + "properties": { + "billingPlanId": { + "type": "string" + }, + "resourceId": { + "type": "string" + }, + "start": { + "type": "string" + }, + "end": { + "type": "string" + }, + "name": { + "type": "string" + }, + "details": { + "type": "string" + }, + "amount": { + "type": "string" + } + }, + "required": [ + "billingPlanId", + "name", + "amount" + ], + "type": "object" + }, + "type": "array" + }, + "total": { + "type": "string" + }, + "created": { + "type": "string" + }, + "updated": { + "type": "string" + }, + "state": { + "type": "string", + "enum": [ + "pending", + "scheduled", + "invoiced", + "paid", + "notpaid", + "refund_requested", + "refunded" + ] + }, + "refundReason": { + "type": "string" + }, + "refundTotal": { + "type": "string" + }, + "test": { + "type": "boolean" + } + }, + "required": [ + "invoiceId", + "invoiceDate", + "period", + "items", + "total", + "created", + "updated", + "state", + "test" + ], + "type": "object" + } + } + } + }, + "400": { + "description": "One of the provided values in the request query is invalid." + }, + "401": {}, + "403": { + "description": "You do not have permission to access this resource." + }, + "404": {} + }, + "parameters": [ + { + "name": "integrationConfigurationId", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "invoiceId", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ] + } + }, + "/v1/installations/{integrationConfigurationId}/billing/invoices/{invoiceId}/actions": { + "post": { + "description": "This endpoint allows the partner to request a refund for an invoice to Vercel. The invoice is created using the [Submit Invoice API](#submit-invoice-api).", + "operationId": "update-invoice", + "security": [ + { + "bearerToken": [] + } + ], + "summary": "Invoice Actions", + "tags": [ + "marketplace" + ], + "responses": { + "204": {}, + "400": { + "description": "One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid." + }, + "401": {}, + "403": { + "description": "You do not have permission to access this resource." + }, + "404": {} + }, + "parameters": [ + { + "name": "integrationConfigurationId", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "invoiceId", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "action": { + "type": "string", + "enum": [ + "refund" + ] + }, + "reason": { + "type": "string", + "description": "Refund reason." + }, + "total": { + "description": "The total amount to be refunded. Must be less than or equal to the total amount of the invoice.", + "type": "string", + "pattern": "^[0-9]+(\\\\.[0-9]+)?$" + } + }, + "required": [ + "action", + "reason", + "total" + ], + "additionalProperties": false + } + } + } + } + } + }, + "/v1/installations/{integrationConfigurationId}/products/{integrationProductIdOrSlug}/resources/{resourceId}/secrets": { + "put": { + "description": "This endpoint updates the secrets of a resource. If a resource has projects connected, the connected secrets are updated with the new secrets. The old secrets may still be used by existing connected projects because they are not automatically redeployed. Redeployment is a manual action and must be completed by the user. All new project connections will use the new secrets.\u003cbr/\u003e \u003cbr/\u003e Use cases for this endpoint:\u003cbr/\u003e \u003cbr/\u003e - Resetting the credentials of a database in the partner. If the user requests the credentials to be updated in the partner’s application, the partner post the new set of secrets to Vercel, the user should redeploy their application and the expire the old credentials.\u003cbr/\u003e", + "operationId": "update-resource-secrets", + "security": [ + { + "bearerToken": [] + } + ], + "summary": "Update Resource Secrets", + "tags": [ + "marketplace" + ], + "responses": { + "201": {}, + "400": { + "description": "One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid." + }, + "401": {}, + "403": { + "description": "You do not have permission to access this resource." + }, + "404": {} + }, + "parameters": [ + { + "name": "integrationConfigurationId", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "integrationProductIdOrSlug", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "resourceId", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "secrets" + ], + "properties": { + "secrets": { + "type": "array", + "items": { + "type": "object", + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "additionalProperties": false + } + } + }, + "additionalProperties": false + } + } + } + } + } + }, "/v1/integrations/configurations": { "get": { "description": "Allows to retrieve all configurations for an authenticated integration. When the `project` view is used, configurations generated for the authorization flow will be filtered out of the results.", @@ -19018,6 +20163,86 @@ ] } }, + "/v1/integrations/sso/token": { + "post": { + "description": "During the autorization process, Vercel sends the user to the provider [redirectLoginUrl](https://vercel.com/docs/integrations/create-integration/submit-integration#redirect-login-url), that includes the OAuth authorization `code` parameter. The provider then calls the SSO Token Exchange endpoint with the sent code and receives the OIDC token. They log the user in based on this token and redirects the user back to the Vercel account using deep-link parameters included the redirectLoginUrl. This is used to verify the identity of the user during the [**Open in Provider** flow](https://vercel.com/docs/integrations/marketplace-flows#open-in-provider-button-flow). Providers should not persist the returned `id_token` in a database since the token will expire.", + "operationId": "exchange-sso-token", + "security": [], + "summary": "SSO Token Exchange", + "tags": [ + "authentication", + "marketplace" + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "properties": { + "id_token": { + "type": "string" + }, + "access_token": { + "nullable": true + }, + "token_type": { + "nullable": true + } + }, + "required": [ + "id_token", + "access_token", + "token_type" + ], + "type": "object" + } + } + } + }, + "400": { + "description": "One of the provided values in the request body is invalid." + }, + "404": {}, + "500": {} + }, + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "code", + "client_id", + "client_secret" + ], + "properties": { + "code": { + "type": "string", + "description": "The sensitive code received from Vercel" + }, + "state": { + "type": "string", + "description": "The state received from the initialization request" + }, + "client_id": { + "type": "string", + "description": "The integration client id" + }, + "client_secret": { + "type": "string", + "description": "The integration client secret" + }, + "redirect_uri": { + "type": "string", + "description": "The integration redirect URI" + } + } + } + } + } + } + } + }, "/v2/integrations/log-drains": { "get": { "description": "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.", @@ -23167,6 +24392,12 @@ }, "type": "array" }, + "observabilityConfiguration": { + "items": { + "$ref": "#/components/schemas/ACLAction" + }, + "type": "array" + }, "openTelemetryEndpoint": { "items": { "$ref": "#/components/schemas/ACLAction" @@ -23611,6 +24842,12 @@ }, "type": "array" }, + "observabilityData": { + "items": { + "$ref": "#/components/schemas/ACLAction" + }, + "type": "array" + }, "project": { "items": { "$ref": "#/components/schemas/ACLAction" @@ -26656,6 +27893,12 @@ }, "type": "array" }, + "observabilityConfiguration": { + "items": { + "$ref": "#/components/schemas/ACLAction" + }, + "type": "array" + }, "openTelemetryEndpoint": { "items": { "$ref": "#/components/schemas/ACLAction" @@ -27100,6 +28343,12 @@ }, "type": "array" }, + "observabilityData": { + "items": { + "$ref": "#/components/schemas/ACLAction" + }, + "type": "array" + }, "project": { "items": { "$ref": "#/components/schemas/ACLAction" @@ -30283,6 +31532,12 @@ }, "type": "array" }, + "observabilityConfiguration": { + "items": { + "$ref": "#/components/schemas/ACLAction" + }, + "type": "array" + }, "openTelemetryEndpoint": { "items": { "$ref": "#/components/schemas/ACLAction" @@ -30727,6 +31982,12 @@ }, "type": "array" }, + "observabilityData": { + "items": { + "$ref": "#/components/schemas/ACLAction" + }, + "type": "array" + }, "project": { "items": { "$ref": "#/components/schemas/ACLAction" @@ -33671,6 +34932,12 @@ }, "type": "array" }, + "observabilityConfiguration": { + "items": { + "$ref": "#/components/schemas/ACLAction" + }, + "type": "array" + }, "openTelemetryEndpoint": { "items": { "$ref": "#/components/schemas/ACLAction" @@ -34115,6 +35382,12 @@ }, "type": "array" }, + "observabilityData": { + "items": { + "$ref": "#/components/schemas/ACLAction" + }, + "type": "array" + }, "project": { "items": { "$ref": "#/components/schemas/ACLAction" @@ -35476,9 +36749,6 @@ "oneOf": [ { "type": "string" - }, - { - "type": "integer" } ] } @@ -51378,14 +52648,15 @@ "edgeConfigWrite", "edgeFunctionExecutionUnits", "edgeMiddlewareInvocations", - "edgeRequest", "edgeRequestAdditionalCpuDuration", + "edgeRequest", "fastDataTransfer", "fastOriginTransfer", "functionDuration", "functionInvocation", "logDrainsVolume", "monitoringMetric", + "observabilityEvent", "postgresComputeTime", "postgresDataStorage", "postgresDataTransfer",